LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   kubuntu 6.06 64-bit dapper: adept question(s) (https://www.linuxquestions.org/questions/ubuntu-63/kubuntu-6-06-64-bit-dapper-adept-question-s-459723/)

Sjonnie48 06-30-2006 07:04 AM

kubuntu 6.06 64-bit dapper: adept question(s)
 
Hello folks,

Here I sit and wonder why the packages-database appears to be damaged after I manually added a repository.
Here' s what I did:

1 clicked 'view/manage repositories' ; in the lower end of the next window is space to enter a url;

2 entered the url of the desired repository: http://packages.ubuntu.com ;

3 clicked 'add', clicked 'apply'; clicked 'close'

4 closed the program

5 started adept again and got the message that the database was damaged, I should try apt-setup or something.

Because I was not able to repair the packages-database because apt was not yet installed, I decided to install kubuntu again.
Then I started adept and repeated steps 1 to 4, with one difference: in step 2 added /dapper/ to the url. The same difficulties with the packages-database occured...
The online adept-handbook does not give any details about manually adding a new repository, but only how to activate the listed ones.
A month ago I installed the 32-bit version of dapper and I was able to manually add a repository.
Did more people run into this difficulty, or did I do something wrong? :confused:

binary_y2k2 06-30-2006 09:08 PM

http://packages.ubuntu.com/ is NOT a repository http://archive.ubuntu.com/ubuntu IS that bay be the problem
also "Because I was not able to repair the packages-database because apt was not yet installed"
What do you mean apt was not installed?? that can't be right.

bigjohn 07-01-2006 05:30 AM

Quote:

Originally Posted by Sjonnie48
Hello folks,

Here I sit and wonder why the packages-database appears to be damaged after I manually added a repository.
Here' s what I did:

1 clicked 'view/manage repositories' ; in the lower end of the next window is space to enter a url;

2 entered the url of the desired repository: http://packages.ubuntu.com ;

3 clicked 'add', clicked 'apply'; clicked 'close'

4 closed the program

5 started adept again and got the message that the database was damaged, I should try apt-setup or something.

Because I was not able to repair the packages-database because apt was not yet installed, I decided to install kubuntu again.
Then I started adept and repeated steps 1 to 4, with one difference: in step 2 added /dapper/ to the url. The same difficulties with the packages-database occured...
The online adept-handbook does not give any details about manually adding a new repository, but only how to activate the listed ones.
A month ago I installed the 32-bit version of dapper and I was able to manually add a repository.
Did more people run into this difficulty, or did I do something wrong? :confused:

If you go to this site > http://www.ubuntulinux.nl/source-o-matic
and just fill in the instructions, it should provide you with all the sources that you will ever need - in an architecture specific "styley".

You get the list it produces and then do (in a terminal/konsole window)
Code:

sudo mv /etc/apt/sources.list /etc/apt/sources.list.old
which moves whichever sources that you currently have to the .old file but retains it if you need to try it again.

Then, presuming that you downloaded the sources.list that the source-o-matic produced to your desktop, you'd then do
Code:

sudo cp /home/Sjonnie48/Desktop/sources.list /etc/apt/sources.list
followed by
Code:

sudo apt-get update
Then adept should show any updates/upgrades available - if you have it set to show the <!> type icon in the toolbar. Otherwise you'd have to fire up adept and tell it to check for updates.

regards

John


All times are GMT -5. The time now is 04:44 PM.