please help add/remove programs
when i open adept manager i got this msg:the APT Database could not be opened!this may caused by incorrect apt configuration or some similar problem.try running apt-setup and apt-get update in terminal and see if it helps to resolve the problem. and when i do this i get this message;E: Type '“deb' is not known on line 60 in source list /etc/apt/
E: The list of sources could not be read. please help i need-it.thanx anticipate
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu kdebase Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Pete
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
It looks like you might have added a line to your /etc/apt/
Revision history for this message
|
#2 |
i gues.i try to install automatix,but no succes.i am new in this,and if you want more inf.you must tell me step by step how to find this.PLEASE HELP
Revision history for this message
|
#3 |
Can you go into a terminal and type the following,
sudo cp /etc/apt/
and then
sudo sed -i '/^\"/d' /etc/apt/
followed by
sudo apt-get update
Give the output of the last here, if it gives an error!
Revision history for this message
|
#4 |
Can you go into a terminal and type the following (you may wish to copy and paste these),
sudo cp /etc/apt/
and then
sudo sed -i '/^\"/d' /etc/apt/
followed by
sudo apt-get update
Give the output of the last here, if it gives an error!
Revision history for this message
|
#5 |
marius@ubuntu:~$ sudo cp /etc/apt/
cp: cannot create regular file `/etc/apt/
this what i get at first...sudo sed -i '/^\"/d' /etc/apt/
E: Type '“deb' is not known on line 60 in source list /etc/apt/
the same.What else can do
please help
Revision history for this message
|
#6 |
Sorry, the cp command should have been
sudo cp /etc/apt/
does not matter now.
Can you paste the contents of your /etc/apt/
Revision history for this message
|
#7 |
i know how to paste contents,but i dont know how and were to find /etc/apt/
Revision history for this message
|
#8 |
From the run dialogue (Hold down alt and press F2) type
gedit /etc/apt/
Revision history for this message
|
#9 |
i guess my problem its bad,this is what i got:gedit /etc/apt/
could not run the specified command.Please tell me if there is a chance for me,or i haft to reinstall the os again.thanx
Revision history for this message
|
#10 |
Looks like your /etc/apt/
Revision history for this message
|
#11 |
Infact it looks like you don't have gedit, are you using something other than Ubuntu, such as Kubuntu or Xubuntu etc?
Revision history for this message
|
#13 |
Hi sosoy77. If you open Konqueror file browser, and navigate to: /etc/apt/ do you see a sources.list? If so, click (or double-click) it and it should open in a file editor... possibly "kate". You should be able to copy and paste from there then.
Revision history for this message
|
#14 |
SOURCES.LIST
# deb cdrom:[Kubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016.2)]/ gutsy main restricted
deb cdrom:[Kubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016.2)]/ gutsy main restricted
# See http://
# newer versions of the distribution.
deb http://
deb-src http://
## Major bug fix updates produced after the final release of the
## distribution.
deb http://
deb-src http://
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://
deb-src http://
deb http://
deb-src http://
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://
deb-src http://
deb http://
deb-src http://
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://
# deb-src http://
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
# deb http://
# deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
deb http://
deb-src http://
“deb http://
deb http://
SOURCES.LIST.BACKUP
# deb cdrom:[Kubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016.2)]/ gutsy main restricted
deb cdrom:[Kubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016.2)]/ gutsy main restricted
# See http://
# newer versions of the distribution.
deb http://
deb-src http://
## Major bug fix updates produced after the final release of the
## distribution.
deb http://
deb-src http://
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://
deb-src http://
deb http://
deb-src http://
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://
deb-src http://
deb http://
deb-src http://
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://
# deb-src http://
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
# deb http://
# deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
deb http://
deb-src http://
“deb http://
deb http://
SOURCES.
# deb cdrom:[Kubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016.2)]/ gutsy main restricted
deb cdrom:[Kubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016.2)]/ gutsy main restricted
# See http://
# newer versions of the distribution.
deb http://
deb-src http://
## Major bug fix updates produced after the final release of the
## distribution.
deb http://
deb-src http://
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://
deb-src http://
deb http://
deb-src http://
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://
deb-src http://
deb http://
deb-src http://
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://
# deb-src http://
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
# deb http://
# deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
deb http://
deb-src http://
SOURCES.LIST.SAVE #
# deb cdrom:[Kubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016.2)]/ gutsy main restricted
deb cdrom:[Kubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016.2)]/ gutsy main restricted
# See http://
# newer versions of the distribution.
deb http://
deb-src http://
## Major bug fix updates produced after the final release of the
## distribution.
deb http://
deb-src http://
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://
deb-src http://
deb http://
deb-src http://
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://
deb-src http://
deb http://
deb-src http://
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://
# deb-src http://
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
# deb http://
# deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
THIS IS ALL THE LIST I HAVE HERE
Revision history for this message
|
#15 |
Hi soysoy77,
The problem is this line in your sources.list
“deb http://
The quotes are the problem, as the update system cannot understand it. I would recommend keeping away from Automatix for the time being, and you should be able to do everything you need without it. Up to you of course :-)
To fix the problem and keep Automatix, modify the sources.list file as root and remove the two quotes on that line. To do this, go to your run dialog and type: kdesu kate /etc/apt/
Alternatively, it looks like if you uninstall Automatix, it *should* also revert the changes it made to the file.
Hope this helps!
Kris
Revision history for this message
|
#16 |
u haft to tell me step by step,i am new,i try but i need more inf. please help.What i must remove to make my sys work
Revision history for this message
|
#17 |
Sure, sorry if I wasn't clear enough.
You will need to edit the file /etc/apt/
Click the "K" button, then click "Run Command". Type the following:
kdesudo kate /etc/apt/
When Kate the text editor starts up, you can modify the line at the bottom:
“deb http://
And take out the "s so it looks like this:
deb http://
Save the file and it should all hopefully be fixed!
Kris
Revision history for this message
|
#18 |
Surprised the sed command earlier didn't work, anyway, to be able to edit you need to have root permissions (somewhat like administrator)
To do this type
sudo kwrite /etc/apt/
This will allow you to save changes to /etc/apt/
Change the line
“deb http://
to
deb http://
save the file. Then, from a terminal type
sudo apt-get update
This should sort out the issues hopefully.
Revision history for this message
|
#20 |
i want to know ho to do this:now i have a hdd 160 gb whit kubuntu in it and i want to add another one whit 250 gb an this one i want it only whit media and ktorrent and i want a partition 100gb and 150gb. And the first whit 160 i want to partition in 40gb for os,and another two prtition 60gb and 60gb.please tell me how to add the hdd and how to partitoin.please help
Revision history for this message
|
#21 |
Hi soysoy77, please raise a new question for this - https:/
Revision history for this message
|
#22 |
i gues i have another problem now.This is what i got when i try to install or remove application:COULD NOT COMMIT CHANGES-ADEPT INSTALLER There was an error commiting changes. Possibly there was a problem downloading some packages or the commit would break packages. I did-it again please help
Revision history for this message
|
#23 |
Something has got really messed up here. How long ago did you install this machine? If it was not long and you have not spent that much time working on it, I'd suggest reinstalling. You would have a working machine back within half an hour or so. (If you do, stay away from automatix, it seems to have really caused problems!)
If this is not an option, or you would prefer not to reinstall just say and a solution can probably be found.
I presume after changing the line in /etc/apt/
sudo apt-get update
Revision history for this message
|
#24 |
but sudo apt-get update work fine,just when i try to install or uninstall any apps i got this mesage.please help if that don t work i will install the os again
Revision history for this message
|
#25 |
Can you try this please, if your package you wish to install is called xxyy for example, type the following into a terminal:
sudo apt-get install xxyy
and give the output here. Remember to replace the xxyy with the name of the package you are trying to install!
Revision history for this message
|
#26 |
sudo apt-get install kleansweep Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libcompizconfig0 python-compizconfig
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
kleansweep
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 141kB of archives.
After unpacking 467kB of additional disk space will be used.
Get:1 http://
Fetched 141kB in 23s (5973B/s)
Selecting previously deselected package kleansweep.
(Reading database ... 94173 files and directories currently installed.)
Unpacking kleansweep (from .../kleansweep_
Setting up libqt3-mt (3:3.3.
Configuration file `/etc/qt3/
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : background this process to examine the situation
The default action is to keep your current version.
*** qt_plugins_3.3rc (Y/I/N/O/D/Z) [default=N] ? y
Installing new version of config file /etc/qt3/
Setting up kdesudo (1.1-0ubuntu2.2) ...
Setting up kleansweep (0.2.8-0ubuntu3) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
i gues from konsole works!!!!and now very strange....it s work from add/remuve programs too !!! I guess my pc it s hunted by windows ghost :) i will keep you informed ,i may need a ghost hunter.
Revision history for this message
|
#27 |
Maybe the question produced about "/etc/qt3/
Anyway, good it is now working!
Revision history for this message
|
#28 |
Thanks Pete, that solved my question.