apt-get install and upgrade errors
#hi! i'm a newbie to debian/linux, and i recently took over admin of a
system running 2.4.18.
#this is my sources.list:
deb cdrom:[Debian GNU/Linux 3.0 r0 _Woody_ - Official sparc Binary-6
(20020719)$
deb cdrom:[Debian GNU/Linux 3.0 r0 _Woody_ - Official sparc Binary-5
(20020719)$
deb cdrom:[Debian GNU/Linux 3.0 r0 _Woody_ - Official sparc Binary-4
(20020719)$
deb cdrom:[Debian GNU/Linux 3.0 r0 _Woody_ - Official sparc Binary-3
(20020719)$
deb cdrom:[Debian GNU/Linux 3.0 r0 _Woody_ - Official sparc Binary-2
(20020719)$
deb cdrom:[Debian GNU/Linux 3.0 r0 _Woody_ - Official sparc Binary-1
(20020719)$
deb http://security.debian.org/ stable/updates main
deb ftp://ftp.us.debian.org/debian/ stable main
deb-src ftp://ftp.us.debian.org/debian/ stable main
deb http://non-us.debian.org/debian-non-US stable/non-US main
deb-src http://non-us.debian.org/debian-non-US stable/non-US main
#i ran apt-get update and apt-get upgrade. apt-get upgrade returns this
message before aborting:
Preparing to replace bsdutils 1:2.11n-4 (using
.../bsdutils_1%3a2.11n-7_sparc.deb) ...
Unpacking replacement bsdutils ...
dpkg: error processing
/var/cache/apt/archives/bsdutils_1%3a2.11n-7_sparc.deb (--unpack):
unable to create `./usr/bin/script': Permission denied
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/bsdutils_1%3a2.11n-7_sparc.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
#i tried apt-get install exim because the system runs exim, and i get a
similar message:
Preparing to replace exim 3.35-1 (using .../exim_3.35-1woody3_sparc.deb) ...
Stopping MTA: exim.
Unpacking replacement exim ...
dpkg: error processing
/var/cache/apt/archives/exim_3.35-1woody3_sparc.deb (--unpack):
unable to create `./usr/sbin/exim': Permission denied
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Starting MTA: exim.
Errors were encountered while processing:
/var/cache/apt/archives/exim_3.35-1woody3_sparc.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
#can anybody please explain to me what's going on?
#thanks,
#james
Reply to: