Re: dpkg: error while apt-get upgrade
- From: NoOp <glgxg@xxxxxxxxxxxxx>
- Date: Sun, 02 Nov 2008 12:58:25 -0800
On 11/01/2008 01:18 AM, dave selby wrote:
Hi all,[snip]
I was about to do an upgrade from 8.04 to 8.10, I did an update and it
failed. I dropped to the command line and this is what I am getting.
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-2.6.24-21-generic_2.6.24-21.43_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
dave@main-system:~$
I want to fix this before I do an upgrade to 8.10 since it might cause
problems. Any idea how I fix this ?
Cheers
Dave
Give these a try:
sudo apt-get update
[note: look for errors & if so, fix your sources.list)
sudo dpkg --configure -a
sudo apt-get -f check
[note: it's always a good idea to open gedit also so that you can copy &
paste the output of commands like these when trying to troublshoot. You
can then save to compare etc]
sudo apt-get update
sudo apt-get upgrade
You may have to do the above a couple of times if you get errors.
I'd also recommend that you _consider_ running 'apt-get clean'. But
before you do, understand what it does, & also ensure that you have a
solid network connection in order to redownload any necessary packages:
$ man apt-get
clean
clean clears out the local repository of retrieved package files.
It removes everything but the lock file from
/var/cache/apt/archives/ and /var/cache/apt/archives/partial/. When
APT is used as a dselect(8) method, clean is run automatically.
Those who do not use dselect will likely want to run apt-get clean
from time to time to free up disk space.
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- References:
- dpkg: error while apt-get upgrade
- From: dave selby
- dpkg: error while apt-get upgrade
- Prev by Date: Re: Global ”auto correction”?
- Next by Date: When ejecting a DVD or a DVD-RAM, it reinserts it in
- Previous by thread: Re: dpkg: error while apt-get upgrade
- Next by thread: analog clock in GNOME
- Index(es):
Relevant Pages
|