LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices



Reply
 
Search this Thread
Old 08-20-2013, 02:19 PM   #1
Don_Nadie
Member
 
Registered: Aug 2009
Posts: 44

Rep: Reputation: 0
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.
 
Old 08-20-2013, 03:01 PM   #2
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,591

Rep: Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233
Hi,

please run the following and post the full output (including the command that you ran).
Code:
sudo apt-get -f install
Evo2.
 
Old 08-21-2013, 05:53 AM   #3
Don_Nadie
Member
 
Registered: Aug 2009
Posts: 44

Original Poster
Rep: Reputation: 0
sudo apt-get -f install

Code:
$ 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
.
 
Old 08-21-2013, 06:31 AM   #4
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian Jessie / sid
Posts: 1,471

Rep: Reputation: 444Reputation: 444Reputation: 444Reputation: 444Reputation: 444
never seen it...
guessing here..

Code:
apt-cache dump | sed '/Package: python-notify$/,/File:/!d'
Edit: actually, easier
Code:
apt-cache showpkg python-notify
I was winging it earlier

gets you something like
Code:
Package: python-notify
 Version: 0.1.1-3
     File: /var/lib/apt/lists/ftp.uk.debian.org_debian_dists_jessie_main_binary-amd64_Packages
I guess that 'file' is empty..
check with head /var/lib.......
do you have free space on var?
Code:
df -h /var
if not.. gain some space with

Code:
sudo apt-get clean
then
Code:
sudo apt-get update
and try again..

Last edited by Firerat; 08-21-2013 at 06:36 AM.
 
Old 08-21-2013, 10:52 AM   #5
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,591

Rep: Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233
Hi,
Quote:
Originally Posted by Don_Nadie View Post
Code:
$ 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)?

Evo2.
 
Old 08-21-2013, 12:10 PM   #6
Don_Nadie
Member
 
Registered: Aug 2009
Posts: 44

Original Poster
Rep: Reputation: 0
Lots of results

@Firerat

Code:
 $ apt-cache showpkg python-notify
Package: python-notify
Versions: 
0.1.1-3build1 (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_quantal_main_binary-i386_Packages) (/var/lib/dpkg/status)
 Description Language: 
                 File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_quantal_main_binary-i386_Packages
                  MD5: 3392c017056c640af7d7190a16884e85
 Description Language: en
                 File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_quantal_main_i18n_Translation-en
                  MD5: 3392c017056c640af7d7190a16884e85


Reverse Depends: 
  indicator-weather,python-notify
  sabnzbdplus,python-notify
  hijra-applet,python-notify
  xmms2tray,python-notify
  wicd-gtk,python-notify
  viridian,python-notify
  turpial,python-notify 0.1.1
  testdrive-gtk,python-notify
  tcosmonitor-common,python-notify
  stackapplet,python-notify
  specto,python-notify
  sbackup-gtk,python-notify
  rapid-photo-downloader,python-notify 0.1.1
  radiotray,python-notify 0.1.1
  python-loggingx,python-notify
  prelude-notify,python-notify
  pithos,python-notify
  phatch-cli,python-notify
  pam-dbus-notify,python-notify
  ontv,python-notify 0.1.1
  nicotine,python-notify
  monajat-applet,python-notify
  miro,python-notify
  memaker,python-notify
  lernid,python-notify
  indicator-weather,python-notify
  hplip-gui,python-notify
  hotot-gtk,python-notify
  hamster-applet,python-notify
  guake,python-notify
  gnome-btdownload,python-notify 0.1.1
  gm-notify,python-notify
  git-buildpackage,python-notify
  exaile,python-notify
  epoptes,python-notify
  emesene,python-notify
  dvcs-autosync,python-notify
  deluge-gtk,python-notify
  decibel-audio-player,python-notify 0.1
  controlaula,python-notify
  cameramonitor,python-notify
  bluemindo,python-notify
  blueman,python-notify
  bleachbit,python-notify
  backintime-gnome,python-notify
  autokey-qt,python-notify
  atheist,python-notify
  arista,python-notify
  system-config-printer-gnome,python-notify
  ibus,python-notify
  hplip,python-notify
  mate-applets,python-notify
  mintupload,python-notify
  mint-meta-kde,python-notify
Dependencies: 
0.1.1-3build1 - python2.7 (0 (null)) python (2 2.7.1-0ubuntu2) python (3 2.8) libc6 (2 2.1.3) libgdk-pixbuf2.0-0 (2 2.22.0) libglib2.0-0 (2 2.12.0) libnotify4 (2 0.7.0) python-gtk2 (2 2.10) 
Provides: 
0.1.1-3build1 - python2.7-notify 
Reverse Provides:
Code:
$ head /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_quantal_main_binary-i386_Packages
Package: account-plugin-aim
Priority: optional
Section: gnome
Installed-Size: 935
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian Telepathy maintainers <pkg-telepathy-maintainers@lists.alioth.debian.org>
Architecture: i386
Source: empathy
Version: 3.6.0.3-0ubuntu1
Replaces: account-plugin-empath
Code:
$ 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.
Attached Images
File Type: png Screenshot from 2013-08-21 12:50:21.png (81.6 KB, 9 views)
 
Old 08-21-2013, 03:08 PM   #7
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian Jessie / sid
Posts: 1,471

Rep: Reputation: 444Reputation: 444Reputation: 444Reputation: 444Reputation: 444
looks like you are not alone

https://bugs.launchpad.net/ubuntu/+s...kg/+bug/108189

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 03:09 PM. Reason: disable smilies
 
Old 08-21-2013, 03:29 PM   #8
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,591

Rep: Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233
Hi,

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.

Evo2.
 
Old 08-26-2013, 01:34 PM   #9
Don_Nadie
Member
 
Registered: Aug 2009
Posts: 44

Original Poster
Rep: Reputation: 0
FIXED, not solved

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.
 
  


Reply

Tags
install, update


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
64 bit Opensuse getting booted in 32 bit suddenly Kaustuv Linux - Enterprise 1 08-05-2013 11:50 PM
linuxmint 13 cinnamon wifi hard blocked Lenovo T410 stardustdk Linux - Networking 4 07-03-2013 09:30 AM
Alt-Tab stopped working in Linuxmint Cinnamon Don_Nadie Linux Mint 2 03-08-2013 07:35 AM
Cinnamon 1.2 settings seem unstable. Linuxmint 12 Clived Linux Mint 7 05-09-2012 04:20 PM
LXer: Howto- Install Cinnamon on Fedora, LinuxMint, Ubuntu(PPA) and opensuse LXer Syndicated Linux News 0 02-19-2012 10:00 AM


All times are GMT -5. The time now is 01:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration