LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   I Broke Adept On Kubutu (https://www.linuxquestions.org/questions/ubuntu-63/i-broke-adept-on-kubutu-430044/)

relly^newbie%) 03-30-2006 10:47 AM

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 :study: All help appreciated

brianthegreat 03-30-2006 11:15 AM

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.

relly^newbie%) 03-30-2006 12:00 PM

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 :study:

relly^newbie%) 03-30-2006 12:04 PM

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:~$

Dragineez 03-30-2006 12:14 PM

Sudo
 
Try:

sudo apt-setup
sudo apt-get update

relly^newbie%) 03-30-2006 12:25 PM

ok ill check now

relly^newbie%) 03-30-2006 12:51 PM

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

brianthegreat 03-30-2006 12:57 PM

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

relly^newbie%) 03-30-2006 01:19 PM

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

brianthegreat 03-30-2006 01:26 PM

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

relly^newbie%) 03-30-2006 01:34 PM

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


All times are GMT -5. The time now is 10:50 AM.