Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm a linux virgin, so take it slow if you can. I'm running Kubuntu-7.0.4 I believe, and I've got this appearing when I try to open Adept>
The APT Database could not be opened! This may be 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.
When I try to run these commands I get>
E: Type 'Ardour-2.0.3.dmgfile:///home/dan/Desktop/Ardour-2.0.3.dmgfile:///home/dan/Desktop/Ardour-2.0.3.dmg' is not known on line 43 in source list /etc/apt/sources.list
bash: apt-setup: command not found
I don't know what this means, really, or what to do about it. Sorry if this question has been asked a million times before, but I couldn't find anything real specific having to do with this problem when I searched (I'm pretty new to this whole forum thing also). Thanks a lot for your time.
Peace!
-Dan
Last edited by jackolope34; 08-27-2007 at 12:14 AM.
There's no reason to be sorry, this is one of the right places to come to find help in resolving this. It appears there is a problem with your /etc/apt/sources.list, you should be able to view this file by typing: less /etc/apt/sources.list in a terminal, highlight the contents and post it here if you can. You should also have a file browser that you can use to view the file by just clicking on it.
It sort of appears there is a line, at line 43 of this file which refers to a local repository called /home/dan/Desktop/Ardour-2.0.3.dmg which appears to have two to many slashes in it, example:
Quote:
deb file:///home/dan/Desktop/Ardour-2.0.3.dmg
It should be:
Quote:
deb file:/home/dan/Desktop Ardour-2.0.3.dmg/
Is this an actual repository you want available for installation with adept or synaptic, because you can easily install it with dpkg. Although it is better to install with apt so dependencies are automatically included.
Last edited by Junior Hacker; 08-27-2007 at 12:31 AM.
## Major bug fix updates produced after the final release of the
## distribution.
## 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://us.archive.ubuntu.com/ubuntu/ feisty universe
deb-src http://us.archive.ubuntu.com/ubuntu/ feisty universe
## 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://us.archive.ubuntu.com/ubuntu/ feisty multiverse
/etc/apt/sources.list
So if anyone can translate for me, that would be awesome. Thanks.
It might be best to use a file browser to view the file, it's probably allot bigger than that. When using less, you will only see part of the file on the screen, you then have to use the down arrow key to view the rest of the file, I think you can hit the space bar to flip to the next section (what can fit on the screen) of the file. Using a file browser makes it easy to highlight/copy/paste the contents of the file here. And the best way to post a long file here is to use the "Post Reply" rather than the "Quick Reply" window and highlight the contents of the file and click on the "Wrap [code] tags around selected text" button. This way it only occupies a small area of your post.
Because the error said there is a problem at line 43, you only posted 19 lines.
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ feisty main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ feisty main restricted
## Major bug fix updates produced after the final release of the
## distribution.
## 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://us.archive.ubuntu.com/ubuntu/ feisty universe
deb-src http://us.archive.ubuntu.com/ubuntu/ feisty universe
## 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://us.archive.ubuntu.com/ubuntu/ feisty multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ feisty multiverse
## 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://us.archive.ubuntu.com/ubuntu/ feisty-backports main restricted univ
erse multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ feisty-backports main restricted
universe multiverse
deb http://security.ubuntu.com/ubuntu feisty-security main restricted
deb-src http://security.ubuntu.com/ubuntu feisty-security main restricted
deb http://security.ubuntu.com/ubuntu feisty-security universe
deb-src http://security.ubuntu.com/ubuntu feisty-security universe
deb http://security.ubuntu.com/ubuntu feisty-security multiverse
deb-src http://security.ubuntu.com/ubuntu feisty-security multiverse
deb http://archive.ubuntu.com/ubuntu/ feisty-backports restricted main multivers
e universe
Ardour-2.0.3.dmgfile:///home/dan/Desktop/Ardour-2.0.3.dmgfile:///home/dan/Deskto
p/Ardour-2.0.3.dmg
(END)
Thanks again for looking at this for me. Here's what I came out with^
You will need to use an editor to do this as sudo in order to save it. After it has been saved, run the command: sudo apt-get update. When the prompt comes back, you should be able to install software. I haven't used Ubuntu much yet, I'll boot it up and report back to let you know what is the easiest way to edit the file.
I wonder how that line got in there? I'll check mine to see if it is similar. I have been un-able to get the modem working on Ubuntu, so it hasn't been on-line yet.
Damn it!
You're using Kubuntu, I'm using Ubuntu. In Ubuntu, the best editor is gedit, and it's like really easy to use. Ubuntu is my first Gnome desktop which is why I installed it, to learn Gnome.
In KDE, all my KDE distributions have a "super user file browser" found through the main menu/system/more_applications. If you have it also, open it and give the admin password, navigate to /etc/apt and click on the sources.list file to view it, put the hash at the beginning of that line and go to the File menu at the top left and select Save. If you are on-line, run the command: apt-get update as recommended in the prior post, if not on-line, you don't need to run the command, you should be able to install software off the CD only.
I didn't have that line in my /etc/apt/sources.list.
OK, so I'm using Kate (Kubuntu's advanced text editor) and the damn thing won't allow me to save the changes I've made. Do you know if there is someplace I can log-in as the administrator so I can save the changes I've made?
By the way, I think the line came up because of some software I tried to download (Ardour-an audio workstation). It is possible that Ardour is not compatible with Kubuntu, but it was in a .dmg format, which I thought was universal.
I just tried something in Debian which has KDE, in a terminal I issued command: kdesu kate, this produced a password window so I could enter the root password and use kate as root. Try and see if you can do the same in Kubuntu, you may only need to issue command: sudo kate because Ubuntu/Kubuntu etc. use sudo for users, but I have a feeling the kdesu would work also, one can use any GUI application as root in KDE with kdesu and possibly sudo from command line, (I think, I don't have any GUI software installed that doesn't start with a k except for synaptic, it worked there also).
Glad to see you got it done. Did you end up using a super user file browser?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.