Subscription date : 08 August 2010
Messages : 5
|
I am running Ubuntu 10.04, with Gnome desktop, not sure what version of Cairo Dock but I don't think that matters. I tried to install Cairo Dock using these instructions, https://help.ubuntu.com/community/CairoDock and I used the installation method from the repository. I am pretty sure that the package did not download or install. Now I get an error message every time I try to run a command or open up Synaptic.
The message is:
Could not initialize the package information
An unresolvable problem occurred while initializing the package information.
Please report this bug against the 'update-manager' package and include the following error message:
'E:Type 'wgat' is not known on line 54 in source list /etc/apt/sources.list, E:The list of sources could not be read.'
Thank you very much for any help. I think the problem might have been that I made a typo and said 'wgat' instead of 'wget' but I have no idea at all how to fix it. |
Subscription date : 26 October 2008
Messages : 1904
|
you certainly typed wgat instead of wget so now your sources.lst is corrupted you will have to manually edit it
you have to enter sudo gedit /etc/apt/sources.list
and if you could post here the sources.list we will tell you which one to change
Edited it's our packages.. |
matttbe, Sunday 08 August 2010 à 17:31
|
|
Subscription date : 24 January 2009
Messages : 12573
|
Hello,
It's easy, there is a problem on line 54 in this file "/etc/apt/sources.list". So you can remove it manually (as said taiebot) or by using this command:sudo sed -i 54d /etc/apt/sources.list
After that, you can use this command in order to add our repository and install the latest stable version of Cairo-Dock: echo "deb http://repository.glx-dock.org/ubuntu $(lsb_release -sc) cairo-dock ## Cairo-Dock-Stable" | sudo tee -a /etc/apt/sources.list
wget -q http://repository.glx-dock.org/cairo-dock.gpg -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get install cairo-dock cairo-dock-plug-ins (copy the block and paste it on the terminal (Edit tab / Paste) |
Subscription date : 08 August 2010
Messages : 5
|
Thank you. I did that and changed my 'wgat' to 'wget' but it still is giving me the error message. Is there any way to just delete the file and try again with a .deb file or something? Or using Synaptic? |
Subscription date : 08 August 2010
Messages : 5
|
Everything goes great until 'sudo apt-get update'. When i run that command it says "E:Type 'sudo' is not known on line 54 in source list /etc/apt/sources.list". |
Subscription date : 08 August 2010
Messages : 5
|
Is there a way I can just clear up the error messages and install the package in Synaptic? |
Subscription date : 26 October 2008
Messages : 1904
|
you should not have wget written on the sources.list.. could you post the file here.. and DO NOt delete the file...
you will not be able to upgrade anything... |
matttbe, Sunday 08 August 2010 à 18:45
|
|
Subscription date : 24 January 2009
Messages : 12573
|
Yes, you've to remove this line! E.g. with these commands launched from a terminal:sudo sed -i 54d /etc/apt/sources.list
sudo apt-get update
sudo apt-get install cairo-dock cairo-dock-plug-ins |
Subscription date : 08 August 2010
Messages : 5
|
I got it to work!!!!! Thank you very much for all that you have helped me do. It is awesome!!! I had about 5 errors in my code and I fixed them and it worked!!! It is great thank you very much |
matttbe, Monday 09 August 2010 à 07:53
|
|
Subscription date : 24 January 2009
Messages : 12573
|
You're welcome! |
|