Synaptic Package Manager error

Asked by Marcus on 2008-09-11

I got the following errors when I tried to run the Synaptic Package Manager:

E: Unable to write mmap-msync (28 No space left on device)
E: The package lists or status file could not be parsed or opened
E: _cache-> open () failed please report

I ran the following commands:

sudo rm /var/lib/apt/lists/* -vf
sudo apt-get clean all
sudo apt-get update

After running the above command I tried to open the Synaptic Package Manager & got another error. I then tried opening the Synaptic Package Manager in the command line using gksudo synaptic and got the following:

marcus@eod-laptop:~$ gksudo synaptic
Error copying '/home/marcus/.Xauthority' to '/tmp/libgksu-ZLGSp7': No space left on device/usr/share/themes/Blubuntu/gtk-2.0/gtkrc:169: Clearlooks configuration option "progressbarstyle" is not supported and will be ignored.

I rebooted & was able to start the Synaptic Package Manager but got an error at the end of my downloading OpenOffice. The error code was:

E: /var/catch/apt/archives/openoffice.orgcore_1% 3a2.4.1-Ubuntu2_i386.deb failed in buffer_write (fd)(10,ret=-1)

I repeated the following commands:

sudo apt-get clean all
sudo apt-get update

and got the following output

W: GPG error: http://security.ubuntu.com hardy-security Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <email address hidden>
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://us.archive.ubuntu.com hardy-updates Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <email address hidden>

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/hardy-updates/Release

W: Some index files failed to download, they have been ignored, or old ones used instead.
W: You may want to run apt-get update to correct these problems

What do I need to do to repair this issue?

FYI-this problem appeared about the same time I started having problems saving existing open office documents (odt). Not sure if they are related but I do wonder.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
Marcus
Solved:
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

W: You may want to run apt-get update to correct these problems

Have you tried to run twice:

sudo apt-get update

Thank you

Revision history for this message
Olivier (olivier-lacroix) said :
#2

You need to make some space on your drive.

have a look at /var/tmp/ and see if you can delete some stuff. or expand your partition size.

what does "df -h" give you ?

Revision history for this message
Marcus (mark-westrick) said :
#3

Just checked my / directory & found that it is full. I have my HD partitioned into three, /, /home & swap. I'll need to make some room on the root partition & delete files. Can I delete the files in /var/tmp & the /temp directories safely?

Any suggestions on the best way to resize the / & /home partitions without losing anything (of course I will back things up.

Thanks!

Revision history for this message
Marcus (mark-westrick) said :
#4

I've developed a procedure to increase the size of my root directory.

Thanks to all who provided comments!

marcus

Revision history for this message
Brandy (bf455) said :
#5

brandy@ASUS750desktop:~$ apt-get
apt 0.7.23.1ubuntu2 for i386 compiled on Oct 15 2009 19:23:21
Usage: apt-get [options] command
       apt-get [options] install|remove pkg1 [pkg2 ...]
       apt-get [options] source pkg1 [pkg2 ...]

apt-get is a simple command line interface for downloading and
installing packages. The most frequently used commands are update
and install.

Commands:
   update - Retrieve new lists of packages
   upgrade - Perform an upgrade
   install - Install new packages (pkg is libc6 not libc6.deb)
   remove - Remove packages
   autoremove - Remove automatically all unused packages
   purge - Remove packages and config files
   source - Download source archives
   build-dep - Configure build-dependencies for source packages
   dist-upgrade - Distribution upgrade, see apt-get(8)
   dselect-upgrade - Follow dselect selections
   clean - Erase downloaded archive files
   autoclean - Erase old downloaded archive files
   check - Verify that there are no broken dependencies

Options:
  -h This help text.
  -q Loggable output - no progress indicator
  -qq No output except for errors
  -d Download only - do NOT install or unpack archives
  -s No-act. Perform ordering simulation
  -y Assume Yes to all queries and do not prompt
  -f Attempt to correct a system with broken dependencies in place
  -m Attempt to continue if archives are unlocatable
  -u Show a list of upgraded packages as well
  -b Build the source package after fetching it
  -V Show verbose version numbers
  -c=? Read this configuration file
  -o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp
See the apt-get(8), sources.list(5) and apt.conf(5) manual
pages for more information and options.
                       This APT has Super Cow Powers.
brandy@ASUS750desktop:~$