Re: Upgrading with apt-get
On Wed, 1 Jul 1998, Bob Hilliard wrote:
> I had made a simulated CD with symlinks to my local mirror for
> the script tests, but apt didn't like it - first because it wasn't an
> absolute path, then because there were too many symlinks. I could not
> get it to run with deb file:/cd stable hamm, but it would run with
> deb file:/cd/debian stable hamm.
Hm, I think this is okay, a normal cd would not have a debian/ dir
though..
> Errors were encountered while processing:
> /mirror/debian/dists/frozen/main/binary-i386/utils/mc_4.1.35-1.deb
> E: Sub-process returned an error code
> root:vc-1:/home/bob/test/hamm/autoup>Update-menus: Cannot remove lockfile /var/run/update-menus.pid
>
> There was no lockfile /var/run/update-menus.pid when I checked.
Probably why it couldn't remove it - that's the menu package doing that
with it's background process.
> This appears to be a dpkg problem, not an apt problem. I don't
> understand why the last part of the error message includes the
> prompt. I quit at this point, and will rebuild the test partition and
> try it again later tonight, since I had forgotten to run script last
> night. I didn't expect apt to quit on one dpkg error - is this the
> normal behavior? In such a case, would the best procedure be to re-run
> apt-get dist-upgrade?
APT gives up if dpkg dies. I have no way to know what went wrong so I
can't even begin to work on a recovery strategy. The thing to do is to fix
the problem and run it again (probably with -f) it will pick up exactly
where it left off.
Jason
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: