Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
nh2Offline
Post subject: "command-not-found" package cache update fail  PostPosted: 04.03.2011, 16:25



Joined: 2011-01-28
Posts: 25
Location: Tlemcen, Algeria
Status: Offline
After installing the command-not-found package, the update-command-not-found command (run as root) gives the following error:

      Code:
I: Writing data for oscar.aptosid.com_debian_dists_sid_Contents-i386.gz ...
Traceback (most recent call last):
  File "/usr/sbin/update-command-not-found", line 95, in <module>
    write_db_apt_file()
  File "/usr/sbin/update-command-not-found", line 72, in write_db_apt_file
    write_db_core(fobj)
  File "/usr/sbin/update-command-not-found", line 51, in write_db_core
    section, package = package.strip().rsplit('/', 1)
ValueError: need more than 1 value to unpack


So the cache won't be updated and typing an unknowed command in bash gives the following error:

      Code:
Could not find the database of available applications, run update-command-not-found as root to fix this


I reported the bug to debian : http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=616448 but I think it can be specific to aptosid.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
devilOffline
Post subject: RE: "command-not-found" package cache update fail  PostPosted: 04.03.2011, 17:11



Joined: 2010-08-26
Posts: 491
Location: Berlin
Status: Offline
i just tried and can reproduce the error. i could imagine python-gdbm being broken, not sure though. lets see what Andreas Klode says.

greetz
devil
 
 View user's profile Send private message  
Reply with quote Back to top
nh2Offline
Post subject:   PostPosted: 07.03.2011, 16:14



Joined: 2011-01-28
Posts: 25
Location: Tlemcen, Algeria
Status: Offline
I also reported the bug on launchpad since this is a package originally developed for ubuntu and the upstream developer (Zyga) is there:
https://bugs.launchpad.net/command-not- ... bug/730013
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio