problems with apt after crach
Got a powerout duringa apt install did apt reinstall <pkgname> it ran fine up to the very last: apt executing: /sbin/ldconfig W: Error running script: /usr/lib/apt/scripts/pkglog.lua:45: bad argument #2 to `confset' (string expected, got nil) W: Error running script: /usr/lib/apt/scripts/pkglog.lua:45: bad argument #2 to `confset' (string expected, got nil) Whats wrong? How do i fix it? -- /Rikard " Sharing knowledge is the most fundamental act of friendship. Because it is a way you can give something without loosing something." -R. Stallman --------------------------------------------------------------- Rikard Johnels email : rikjoh@norweb.se Web : http://www.rikjoh.com/users/rikjoh Mob : +46 735 05 51 01 PGP : 0x461CEE56 ---------------------------------------------------------------
On Apr 7, 2005 8:26 AM, Rikard Johnels
Got a powerout duringa apt install did apt reinstall <pkgname> it ran fine up to the very last:
apt executing: /sbin/ldconfig W: Error running script: /usr/lib/apt/scripts/pkglog.lua:45: bad argument #2 to `confset' (string expected, got nil) W: Error running script: /usr/lib/apt/scripts/pkglog.lua:45: bad argument #2 to `confset' (string expected, got nil)
Whats wrong? How do i fix it?
--
/Rikard
Rikard, maybe the downloaded file is broken. If the file is in cache, apt is not going to download it again. I would try to uninstall the package, if it is installed. Check with: #rpm -qa | grep <packagename> (without version nr.) if you see the package installed, unistall it with: #rpm -e <packagename> Now, look under /var/cache to see if you have a copy of the package, and delete it. Then try a new install. Sunny -- Get Firefox http://www.spreadfirefox.com/?q=affiliates&id=10745&t=85
Op donderdag 7 april 2005 15:26, schreef Rikard Johnels:
Got a powerout duringa apt install did apt reinstall <pkgname> it ran fine up to the very last:
apt executing: /sbin/ldconfig W: Error running script: /usr/lib/apt/scripts/pkglog.lua:45: bad argument #2 to `confset' (string expected, got nil) W: Error running script: /usr/lib/apt/scripts/pkglog.lua:45: bad argument #2 to `confset' (string expected, got nil)
Read the file /usr/lib/apt/scripts/pkglog.lua. Line 45 says: confset("Temp::LogList::", logstr) It looks like something goes wrong with the function log. Bug what??? Are files in /etc/apt/apt.conf.d/ all okay? Perhaps reinstall apt? -- Richard Bos Without a home the journey is endless
participants (3)
-
Richard Bos
-
Rikard Johnels
-
Sunny