I still get this error, after I use the "sudo" command on files related to APT. I noticed that the behavior of sudo in karmic always defaults to access o-rwx ---and that defeats the purpose of installing system-wide software using sudo, among other things.
*For example, running the following line in the terminal
causes the medibuntu.list to be saved with access mode 640. If I then run the command "sudo apt-get update", gdebi-gtk cannot be used after that ---and the update-manager complains that it cannot access either /etc/apt/sources.list.d/medibuntu.list or /var/lib/synaptic/preferences.
*Also, the command "sudo update-mime-packages /usr/share/mime" changes the access modes for the mime-types lists, and after that nautilus assigns text/plain to all the files shown.
I still get this error, after I use the "sudo" command on files related to APT. I noticed that the behavior of sudo in karmic always defaults to access o-rwx ---and that defeats the purpose of installing system-wide software using sudo, among other things.
*For example, running the following line in the terminal
sudo wget http:// www.medibuntu. org/sources. list.d/ $(lsb_release -cs).list --output- document= /etc/apt/ sources. list.d/ medibuntu. list
causes the medibuntu.list to be saved with access mode 640. If I then run the command "sudo apt-get update", gdebi-gtk cannot be used after that ---and the update-manager complains that it cannot access either /etc/apt/ sources. list.d/ medibuntu. list or /var/lib/ synaptic/ preferences.
*Also, the command "sudo update- mime-packages /usr/share/mime" changes the access modes for the mime-types lists, and after that nautilus assigns text/plain to all the files shown.
...$ lsb_release -rd
Description: Ubuntu 9.10
Release: 9.10
...$ uname -srvmo
Linux 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/Linux
...$ apt-cache policy gdebi sudo ubuntu. cs.utah. edu karmic/main Packages dpkg/status ubuntu. cs.utah. edu karmic/main Packages dpkg/status
gdebi:
Installed: 0.5.9
Candidate: 0.5.9
Version table:
*** 0.5.9 0
500 http://
100 /var/lib/
sudo:
Installed: 1.7.0-1ubuntu2
Candidate: 1.7.0-1ubuntu2
Version table:
*** 1.7.0-1ubuntu2 0
500 http://
100 /var/lib/