LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 08-26-2007, 09:42 PM   #1
jackolope34
LQ Newbie
 
Registered: Aug 2007
Posts: 13

Rep: Reputation: 0
Adept cannot be opened-Configuration error?


Hey ya'll,

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.
 
Old 08-27-2007, 12:22 AM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
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.
 
Old 08-27-2007, 12:28 AM   #3
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Actually, that line should be commented out because the file is not a .deb extension which is what is required to have apt or adept install it:
Quote:
#deb file:/home/dan/Desktop/Ardour-2.0.3.dmg
 
Old 08-27-2007, 10:53 AM   #4
jackolope34
LQ Newbie
 
Registered: Aug 2007
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks for the help, I greatly appreciate it.

I went in to the terminal and used less /etc/apt/sources.list and came out with this>

# 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
/etc/apt/sources.list


So if anyone can translate for me, that would be awesome. Thanks.
 
Old 08-27-2007, 08:43 PM   #5
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
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.
 
Old 08-28-2007, 02:17 PM   #6
jackolope34
LQ Newbie
 
Registered: Aug 2007
Posts: 13

Original Poster
Rep: Reputation: 0
Post

Code:
# 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^
 
Old 08-28-2007, 08:23 PM   #7
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Put a hash at the beginning of the last line as such:
Code:
#Ardour-2.0.3.dmgfile:///home/dan/Desktop/Ardour-2.0.3.dmgfile:///home/dan/Desktop/Ardour-2.0.3.dmg
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.
 
Old 08-28-2007, 08:53 PM   #8
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
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.
 
Old 08-29-2007, 04:00 PM   #9
jackolope34
LQ Newbie
 
Registered: Aug 2007
Posts: 13

Original Poster
Rep: Reputation: 0
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.

Thanks again,

-Dan
 
Old 08-29-2007, 09:46 PM   #10
jackolope34
LQ Newbie
 
Registered: Aug 2007
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks again, I finally managed to delete the damn line 43, and adept is back up and running. The line had come from my download of Ardour.
 
Old 08-30-2007, 01:01 AM   #11
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adept giving error leupi Ubuntu 4 06-20-2008 07:49 AM
Adept proxy configuration (Edgy ) bahramH Ubuntu 1 05-30-2008 12:53 PM
Error with Adept: cannot commit changes-problem with synaptic install jude254 Linux - Software 5 10-12-2007 06:10 PM
Adept launch error, something else using the database cormack Ubuntu 1 06-03-2007 05:53 PM
Can't install via adept/apt-get, weird dependency error... Letherian Linux - Software 0 02-26-2006 04:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration