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 - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-30-2006, 10:47 AM   #1
relly^newbie%)
LQ Newbie
 
Registered: Mar 2006
Posts: 23

Rep: Reputation: 15
Exclamation I Broke Adept On Kubutu


Hi all i broke adept somehow im new to linux (like 3 days old) so im really not good with the terminal... but im getting better i have ubuntu latest and kubutu latest and broken it is a standard install as i havent been able to work out how to install ANYTHING but i learnt some stuff on ubutu and wanted to start setting up kubutu went to use the adept package manager to install WINE and i get this
Quote:
The APT Database could not be opened! This may be caused by incorrect APT configuration or something similar. Try running apt-setup and apt-get update in terminal and see if it helps to resolve the problem
i tried to do what it said with little success it kept on saying
Quote:
This program was unable to auto-detect a CD-ROM drive, or there is no usable CD in the drive.
i followed the steps to direct it to the cd and just wouldnt read. i also tried the ubutu cd so now im stuck.. i know i can just re-install seems there is nothing on it but i would much prefer to LEARN TO FIX IT as im sure you can understand All help appreciated
 
Old 03-30-2006, 11:15 AM   #2
brianthegreat
Member
 
Registered: Oct 2005
Posts: 518

Rep: Reputation: 32
Try running apt-setup and apt-get update in terminal and see if it helps to resolve the problem.

Run those two commands and post your output if apt is still does not work in the proper manner.
 
Old 03-30-2006, 12:00 PM   #3
relly^newbie%)
LQ Newbie
 
Registered: Mar 2006
Posts: 23

Original Poster
Rep: Reputation: 15
Ok i went to terminal and put apt-setup and it went to do it and asked for the cd i hit ok and then it came up with the thing asking me to locate it it had the location sitting there already which was /dev/cdrom_ so i left it there and hit ok kept comming back (4 times) and then went back to the terminal which had this

tyron@ubuntu:~$ apt-setup
debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permission denied
mount: only root can do that
mount: only root can do that
mount: only root can do that
mount: only root can do that
mount: only root can do that
debconf: DbDriver "config": could not write /var/cache/debconf/config.dat-new: Permission denied
tyron@ubuntu:~$


now im thinking i need to add my password someware in the process??? if so can you tell me how please and while you replying one more Q?

when you are using the terminal to locate and run a file how do you navigate to the location IE: the desktop

Thank you for the fast reply

still
 
Old 03-30-2006, 12:04 PM   #4
relly^newbie%)
LQ Newbie
 
Registered: Mar 2006
Posts: 23

Original Poster
Rep: Reputation: 15
and when i run the "apt-get update"

it comes back with this
Quote:
E: Type '/home/tyron/wine-0.9.10' is not known on line 1 in source list /etc/apt/sources.list
tyron@ubuntu:~$
 
Old 03-30-2006, 12:14 PM   #5
Dragineez
Member
 
Registered: Oct 2005
Location: Annapolis
Distribution: Ubuntu
Posts: 278

Rep: Reputation: 41
Sudo

Try:

sudo apt-setup
sudo apt-get update
 
Old 03-30-2006, 12:25 PM   #6
relly^newbie%)
LQ Newbie
 
Registered: Mar 2006
Posts: 23

Original Poster
Rep: Reputation: 15
ok ill check now

Last edited by relly^newbie%); 03-30-2006 at 12:33 PM.
 
Old 03-30-2006, 12:51 PM   #7
relly^newbie%)
LQ Newbie
 
Registered: Mar 2006
Posts: 23

Original Poster
Rep: Reputation: 15
ok i run that thought it was working and then...
Quote:
Source list entries for this disc are:
deb cdrom:[Kubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/ breezy main restricted
Repeat this process for the rest of the CDs in your set.






release v=5.10,o=Ubuntu,a=breezy,l=Ubuntu,c=restricted
release v=5.10,o=Ubuntu,a=breezy,l=Ubuntu,c=main
release v=5.10,o=Ubuntu,a=breezy,l=Ubuntu,c=restricted
release v=5.10,o=Ubuntu,a=breezy,l=Ubuntu,c=main



















Testing apt sources...
Err http://security.ubuntu.com breezy-security Release.gpg
Could not connect to security.ubuntu.com:80 (1.0.0.0). - connect (113 No route to host)
Ign http://security.ubuntu.com breezy-security Release
Ign http://security.ubuntu.com breezy-security/main Packages
Ign http://security.ubuntu.com breezy-security/restricted Packages
Err http://security.ubuntu.com breezy-security/main Packages
Could not connect to security.ubuntu.com:80 (1.0.0.0). - connect (113 No route to host)
Err http://security.ubuntu.com breezy-security/restricted Packages
Could not connect to security.ubuntu.com:80 (1.0.0.0), connection timed out
Reading package lists... Done
i think i found the problem though when i went to run the sudo apt-get update after that it come back with this
Quote:
tyron@ubuntu:~$ sudo apt-get update
E: Type '/home/tyron/wine-0.9.10' is not known on line 3 in source list /etc/apt/sources.list
i think when i was playing trying to get it to install WINE i tried to add it and well yer look what ive done so would there be a way i can remove that one? i just tried th install,remove and autoclean commands too and they all bought back the same result
 
Old 03-30-2006, 12:57 PM   #8
brianthegreat
Member
 
Registered: Oct 2005
Posts: 518

Rep: Reputation: 32
Your repos are messed up. Follow the instructions in the guide regarding obtaining a proper lists of repos.

Then run

sudo apt-get update
sudo apt-get upgrade
sudo apt-get clean
sudo apt-get autoclean
sudo updatedb

http://easylinux.info/wiki/Ubuntu
 
Old 03-30-2006, 01:19 PM   #9
relly^newbie%)
LQ Newbie
 
Registered: Mar 2006
Posts: 23

Original Poster
Rep: Reputation: 15
oh my god what a mission... so new from windows.. one thing i love is an os that you can control.. learnt a bit tonight thanks heaps guy think i understand linux a heap more now.. that link was good but didnt do it but it managed to open the list up in a kate window so i just deleted everything and saved it then run through your steps above and it works fine by the looks of it

thank you so much guys
 
Old 03-30-2006, 01:26 PM   #10
brianthegreat
Member
 
Registered: Oct 2005
Posts: 518

Rep: Reputation: 32
Here is a couple of useful linux websites because learning linux does presetn a decent learning curve coming from windows.

http://www.linuxdevcenter.com/linux/cmd/
www.google.com/linux
www.freshmeat.net
 
Old 03-30-2006, 01:34 PM   #11
relly^newbie%)
LQ Newbie
 
Registered: Mar 2006
Posts: 23

Original Poster
Rep: Reputation: 15
thanks once again guys

and guess what just for"practice" i just did it again!! hahaha well its now 5AM im going to leave till another day
 
  


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 messed up Optiker Ubuntu 3 02-28-2006 04:12 PM
Can't install via adept/apt-get, weird dependency error... Letherian Linux - Software 0 02-26-2006 04:12 PM
Adept install problem (KUbuntu) saf4 Ubuntu 2 11-04-2005 01:01 PM
kubutu ATI 9800 pro in cedega choppy slackebiatu Linux - Software 0 10-12-2005 05:43 PM
Ubuntu/kubutu and ATI Support zeroz52 Ubuntu 6 09-23-2005 10:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 09:54 PM.

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