Suddenly can't install or update anything on LinuxMint 14 Cinnamon 32 bit
Linux MintThis forum is for the discussion of Linux Mint.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Suddenly can't install or update anything on LinuxMint 14 Cinnamon 32 bit
LinuxMint 14 Cinnamon 32 bit
mintUpdate 4.4.7
mintInstall 7.4.4
I've been using Mint 14 ever since it was released. I suddenly can no longer install or update anything. I always get this error message:
Code:
dpkg: unrecoverable fatal error, aborting:
files list file for package `python-notify' contains empty filename
W: Waited for dpkg --assert-multi-arch but it wasn't there - dpkgGo (10: No child processes)
E: Sub-process /usr/bin/dpkg returned an error code (2)
A package failed to install. Trying to recover:
I'm clueless regarding what to do about this, so TIA for useful guidance.
$ sudo apt-get -f install
[sudo] password for don:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 28 not upgraded
$ sudo apt-get -f install
[sudo] password for don:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 28 not upgraded
.
Ok, so what command(s) result in errors being reported (please provide terminal output)?
$ df -h /var
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 14G 9.4G 3.8G 72% /
================================================
@evo2
If I:
Open update manager.
Click Refresh.
Click Install Updates.
I receive error in my original post. See attachment.
Or
Code:
$ sudo apt-get install aria2
[sudo] password for don:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
aria2
0 upgraded, 1 newly installed, 0 to remove and 28 not upgraded.
Need to get 1,464 kB of archives.
After this operation, 4,037 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ quantal/universe aria2 i386 1.15.1-1 [1,464 kB]
Fetched 1,464 kB in 4s (300 kB/s)
Selecting previously unselected package aria2.
dpkg: unrecoverable fatal error, aborting:
files list file for package `python-notify' contains empty filename
E: Sub-process /usr/bin/dpkg returned an error code (2)
Doesn't matter much what I try to install; this is just an example.
reading that it seems to point towards a hardware problem.. disk/memory etc..
You should probably look at backing up your important data as soon as you can.
run fschk , and badblocks ( assuming you have it installed )
memtest ( from boot or livecd )
have a look at files
Code:
less /var/lib/dpkg/info/python-notify.{list,md5sums,postinst,prerm}
use :n and :p to navigate between files ( next / previous )
if anything 'looks odd' remove and
Code:
sudo apt-get install --reinstall python-notify
Last edited by Firerat; 08-21-2013 at 02:09 PM.
Reason: disable smilies
looks like your /var/lib/dpkg/info/python-notify.list may be corrupted. I have no idea how that could happen. Please try to reinstall it. You may need to download the .deb and install on the command line using dpkg. Or, even manually unpack the .deb (using ar and tar) and replace the python-notify.list file.
If I have any hardware problems, they are beyond the power of software to detect them. I ran memtest86+ : 2 passes, no errors. I have Puppy Linux (frugal?) installed inside my Window$ partition and ran e2fsck and badblocks on my Mint partition from inside Puppy : no problems. I ran the diagnostic software that came in a separate partition on my Dell laptop : no problems, although it takes HOURS to get through all the diagnostics. I have a Seagate internal HD and Seagate Tools for DOS on a bootable device. Booted into Seagate Tools and ran the Seagate Long Test : no problems. Booted into Window$ and ran the latest version of PC Doctor, which Dell is nice enough to give to everyone including owners whose hardware is out of warranty : no problems.
My Mint partition is small since I keep most of my data on the old Window$ XP partition which I hardly ever boot into anymore. I backup my entire Mint partition to a big external HD twice a week with Clonezilla, so I just restored the most recent Mint partition that didn't have the problem. I did a simple copy of my home directory to an external HD first, so I could bring that last working backup to about the same state as my Mint installation that had the posted problem.
I couldn't reinstall python-notify since it seems to need itself for the Debian package manager to work, but of course python-notify is broken. I got tired of all this Linux mumbo-jumbo which is not for ordinary people who want to use their computer instead of forever fiddling with abstruse script files, so I implemented a solution that worked for me.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.