Skip to main content

Thread: How to fix this apt-get error?


i'm trying install new, no matter try install errors. have tips?

first run instance
root@nagios:~# apt-get install nagios-plugins-standard
reading package lists... done
building dependency tree
reading state information... done
nagios-plugins-standard newest version.
might want run `apt-get -f install' correct these:
following packages have unmet dependencies:
nagios-plugins-standard: depends: radiusclient1 not going installed
e: unmet dependencies. try 'apt-get -f install' no packages (or specify solution).
ok, try:
root@nagios:~# apt-get -f install
reading package lists... done
building dependency tree
reading state information... done
correcting dependencies... done
following packages installed:
radiusclient1
following new packages installed:
radiusclient1
0 upgraded, 1 newly installed, 0 remove , 82 not upgraded.
9 not installed or removed.
need 0b/34.6kb of archives.
after operation, 188kb of additional disk space used.
want continue [y/n]? y
(reading database ... 49193 files , directories installed.)
unpacking radiusclient1 (from .../radiusclient1_0.3.2-11.1ubuntu1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/radiusclient1_0.3.2-11.1ubuntu1_i386.deb (--unpack):
trying overwrite '/usr/sbin/radlogin', in package libradiusclient-ng-dev 0:0.5.6-1
errors encountered while processing:
/var/cache/apt/archives/radiusclient1_0.3.2-11.1ubuntu1_i386.deb
e: sub-process /usr/bin/dpkg returned error code (1)
so try set 777 on file it's trying overwrite, still no go
root@nagios:~# ls /usr/sbin/radlogin -la
-rwxrwxrwx 1 root root 18088 2009-05-02 21:43 /usr/sbin/radlogin
/var/log/dpkg.log looks this, longer
root@nagios:~# cat /var/log/dpkg.log
2010-09-01 08:04:03 startup archives unpack
2010-09-01 08:04:03 install radiusclient1 <none> 0.3.2-11.1ubuntu1
2010-09-01 08:04:03 status half-installed radiusclient1 0.3.2-11.1ubuntu1
2010-09-01 08:04:03 status not-installed radiusclient1 <none>
2010-09-01 08:14:08 startup archives unpack
i've tried apt-get clean, remove --purge, update , lot of others things...

try this:
code:
cd /var/cache/apt/archives sudo rm -rf * sudo mkdir partial


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] How to fix this apt-get error?


Ubuntu

Comments

Popular posts from this blog

How to decompile jsxbin to jsx

Gavik Photoslide GK2: Not able to upload photos - Joomla! Forum - community, help and support

Phoca Guestbook logger registret bruger af - Joomla! Forum - community, help and support