apt-get problem

Kareem Shehata kareem-d+8TeBu5bOew5LPnMra/2Q at public.gmane.org
Fri Oct 31 18:42:59 UTC 2003


On Fri, 2003-10-31 at 13:24, David J Patrick wrote:
> I went into /var/cache/apt/archives/ and all I found there was 
> alsa-utils_0.9.6-1_i386.deb.
> I renamed it (NOT.*.NOT) and ran;
> root at PIII500:/mnt/hda8/djp# apt-get -f install
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Correcting dependencies... Done
> The following extra packages will be installed:
>   alsa-utils
> Suggested packages:
>   alsadriver
> The following NEW packages will be installed:
>   alsa-utils
> 0 upgraded, 1 newly installed, 0 to remove and 161 not upgraded.
> 1 not fully installed or removed.
> Need to get 89.5kB of archives.
> After unpacking 233kB of additional disk space will be used.
> Do you want to continue? [Y/n]
> Get:1 http://ftp.de.debian.org testing/main alsa-utils 0.9.6-1 [89.5kB]
> Fetched 89.5kB in 1s (78.8kB/s)
> (Reading database ... 149680 files and directories currently installed.)
> Unpacking alsa-utils (from .../alsa-utils_0.9.6-1_i386.deb) ...
> dpkg: error processing 
> /var/cache/apt/archives/alsa-utils_0.9.6-1_i386.deb (--unpack):
>  trying to overwrite `/usr/bin/alsamixer', which is also in package knx-alsa
> dpkg-deb: subprocess paste killed by signal (Broken pipe)
> Errors were encountered while processing:
>  /var/cache/apt/archives/alsa-utils_0.9.6-1_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> WHAAA ?
> sure enough /var/cache/apt/archives/alsa-utils_0.9.6-1_i386.deb was 
> somehow re-spawned  !
> hmmmm ..
>     Patience, my ass, time to _force_ something !
> djp

Ahhhh the resilience of apt.  Yes, you did managed to delete the
package.  apt-get simply went back out over the net and got it again.  I
strongly recommend *not* mucking with the package database.  Try forcing
the remove of alsa-base or knx-alsa.  If that doesn't work, we'll get
down to the dpkg level and try fixing things there.

Kareem

-- 
/*********************************************************************
      kareem-d+8TeBu5bOew5LPnMra/2Q at public.gmane.org   -   Kareem Shehata   -   416-676-6611     
 --------------------------------------------------------------------
  Some are born great, some achieve greatness, and some hire
  public relations officers.
    -- Daniel J. Boorstin (1914 - )
 ********************************************************************/

--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list