apt-get failing upgrade on brand new install
dotancohen at gmail.com
Fri Aug 31 13:29:45 UTC 2007
On 31/08/2007, peter.garrett at optusnet.com.au
<peter.garrett at optusnet.com.au> wrote:
> On Fri, Aug 31, 2007 at 01:50:39PM +0300, Dotan Cohen wrote:
> > On a brand new Ubuntu 7.04 install, I get this when I try to "sudo
> > apt-get upgrade" (after update, of course):
> > lirondah at ubuntu:~$ sudo apt-get upgrade
> > Reading package lists... Done
> [huge snip...]
> > openoffice.org-style-human
> > E: Sub-process /usr/bin/dpkg returned an error code (1)
> > lirondah at ubuntu:~$
> > >
> > What must I do to correct this? Thanks in advance.
> Have you tried
> sudo apt-get -f install
> sudo dpkg --configure -a
I'll try those when I get back to that machine, thanks.
> Try those, several times if necessary, until you see only zeros at the bottom
> of the output.
> Was this a fresh install or a dist-upgrade ?
> It would be pretty weird on a fresh install...
Fresh install. As soon as the system was up. It downloaded almost 200
MB of updates, and got stuck on the ones that you saw. The output that
you saw was from retrying after rebooting the system.
> Is your /etc/apt/sources.list correct ?
I haven't touched it. I'll post it Sunday, when I get back to that machine.
More information about the ubuntu-users