-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans  . 

Failed Ubuntu Package Installation Fix

   1.1  

Nautilus Script

Score 53%
Failed Ubuntu Package Installation Fix
zoom


Failed Ubuntu Package Installation Fix
zoom


Failed Ubuntu Package Installation Fix
zoom


Minimum required   GNOME 2.x
Downloads:  948
Submitted:  Nov 5 2010
Updated:  Nov 6 2010

Description:

This is the Preparing Packages Fix.

After many hours manually going through the process of fixing bad installations, I automated the process.

The script fixes the \\\\\\\"preparing package\\\\\\\" error that can occur during software installations in Ubuntu.

I assume those who use it will have forced their installation to quit, leaving it in a state of disrepair.

The script will stop all DPKG processes, reconfigure DPKG, remove the broken package, and finally remove the lock on DPKG.

To install, copy this script into /home//.gnome2/nautilus-scripts

Replace with your own.

All .folders are hidden ones. The command line ctrl+h will reveal it.

The script requires the exact name of the failed package.

Please rate and leave your thoughts on the script.

Thank you.




Changelog:

1.1
Compressed script so browser will download script, not just display in window.

Known Issues:

Sometimes the script will not run the package removal process.
Rerunning the script often fixes it.



License:
Failed Ubuntu Packages Install Fix by Nick Oliveto is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.Permissions beyond the scope of this license may be available upon request.

Ubuntu(Failed Package Fix)
Donate
Send to a friend
Subscribe
Other  Apps  from NickOliveto
Report inappropriate content



-
.

 An idea... or two :)

 
 by Cooleech on: Nov 5 2010
 
Score 50%
CooleechCooleech
Cooleech_Inc .
Home

I've just downloaded it, but haven't tried it yet. As far as I saw your code it seems like nice and simple script. One thing I think you should implement would be file selection so user doesn't need to type package's name. Also, you could add $LANG to detect user's system language and make it multi-language script. Feel free to download my script and use it for some of your ideas and solutions. Don't forget to read license (tho it will show it during install) and vote for it! ;)

Link is bellow this message.


Vote, become a fan, help develop (translate) and use my script:
http://goo.gl/aRIk

Reply to this

-

 Re: An idea... or two :)

 
 by NickOliveto on: Nov 6 2010
 
Score 50%

Thanks for your comment!

I appreciate your suggestions a lot and will look for ways to implement them.

If I understand your first suggestion correctly, I think a file selection window would not be as useful in the event an install from the Software Center or Synaptic fails.

I looked at your script and found it very impressive. Multilingual support would be great, but I do not know how to write such script, nor do I have the linguist prowess to do it justice!

Thanks again for your suggestions. Please feel free to edit, improve, and contribute to the script in anyway you see fit!


Reply to this

-
.

 Re: Re: An idea... or two :)

 
 by Cooleech on: Nov 6 2010
 
Score 50%
CooleechCooleech
Cooleech_Inc .
Home

I'm not sure why you think file selection window would not be as useful in the event of install from the Software Center or Synaptic, but I guess you think it's because you need to have root privileges. That also can be done pretty much easy. If you need help making it even better, just PM me, I'd be glad to help! :)

Still, this is one pretty nice idea, and I'm sure it will preform as it should! ;)


Vote, become a fan, help develop (translate) and use my script:
http://goo.gl/aRIk

Reply to this

-
.

 your script

 
 by Karmicbastler on: Nov 6 2010
 
Score 50%

hi together,

if I understand the thing right, this script can be run, if a package is not installed completely or even not installed, because of a failure.

But then, there is another much easier way to fix this.
Just open your Terminal and type in this command: sudo apt-get -f install. This installs the ramining packages. Or if a package remains unconfigured, then you can easily use this command in your Terminal: sudo dpkg --configure pending.

Perhaps this also helps, to fix your problems.

Greetings
Karmicbastler


Reply to this

-

 Re: your script

 
 by NickOliveto on: Nov 7 2010
 
Score 50%

Hey Karmicblaster,

The two commands normally work well, but not if synaptic or update manager has been forced to quit, or an install via terminal is stopped via CTRL+C. When the three force quit, they keep their lock on /var/lib/dpkg

In these situations, sudo apt-get -f install
is unable to lock the administration directory, and sudo dpkg --configure does not work because the status database is locked by the improperly.

Before anything can fix the packages sudo rm /var/lib/dpkg/lock must be run.


Reply to this

-

 your comment

 
 by Karmicbastler on: Nov 12 2010
 
Score 50%

hi Dear,
strange, that you got into such a situation. I didn't get this situation until up to now, although I am running Linux for three years now.
The only thing, that I got into trouble with, was openoffice during the development-time of Ubuntu 10.10. I needed this office-solution. But during all the updates, it was pushed out of installation and I had to reinstall that.
So this was no real working (doing office-work), I changed over to LinuxMint and this helped me. LinuxMint is an ubuntu-based derivate and this gives so much more possibility than Ubuntu. So I think, I will stay with this distribution. But I also heard and read about the new rumors, that the basic Gnome-Desktop will be pushed out of the Basic system and will be replaced by Unity (the new Desktop of Ubuntu 11.04). I hope, they won't do the same with LinuxMint.
On the one hand, Unity is a better alternative to the gnome-shell. But on the other hand, I need the free space on the desktop, for working on it. So I would be happy, if it is posssible, to reinstall the normal Gnome-Session additionally to Unity.
Why I won't change over to Gnome-shell? The reason is, that this session does not work properly until up to now and it takes too much space on the desktop. That's why I am not a friend of Gnome-shell.

Greetings
Karmicbastler


Reply to this

Add commentBack






-
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add App
Public API
About GTK-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2007-2014 GTK-Apps.org Team  
All rights reserved. GTK-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.