LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Problem with updatin lists.... (https://www.linuxquestions.org/questions/debian-26/problem-with-updatin-lists-238114/)

alaios 10-03-2004 12:22 AM

Problem with updatin lists....
 
Goodmorning!!!!
I need to download and use the xcfe4 in my debian os.....
After searching i have found the two following links

http://packages.debian.org/testing/x11/xfce4
http://www1.apt-get.org/search.php?q...arch%5B%5D=all


I can't decide what to download of them and how i can use them.
I would prefer if a tool can make automatically the job for me ...

Do u know if a tool that can automatically install my software can keep the .deb files for a later installation?

I have tried the apt-setup program... I have used on of the servers... Then the update was done succesfully... The problem is that the aptitude weren't able to ffind the xfce4 but only the old xfce3.x.x version...

Can u plz suggest me what i should do next?
Thx a lot!

Dead Parrot 10-03-2004 06:23 AM

Quote:

I have tried the apt-setup program... I have used on of the servers... Then the update was done succesfully... The problem is that the aptitude weren't able to ffind the xfce4 but only the old xfce3.x.x version...
Apt-setup defaults to setting APT to use STABLE repos, and xfce4 is not yet in stable. You need to manually edit /etc/apt/sources.list and change every "stable" entry into "testing". And you can comment out the security updates repo because, AFAIK, testing doesn't get security updates (although I might be wrong here).

Quote:

After searching i have found the two following links

http://packages.debian.org/testing/x11/xfce4
http://www1.apt-get.org/search.php?...;arch%5B%5D=all

I can't decide what to download of them and how i can use them.
Always favour the official repos and only download additional packages found from apt-get.org when there's nothing similar in official repo. When you want to use some outside repo, just add it into /etc/apt/sources.list and run "apt-get update". Now the new packages should become visible in Aptitude, Synaptic, and "apt-cache".

Quote:

Do u know if a tool that can automatically install my software can keep the .deb files for a later installation?
Well, what I'm about to suggest is not "automatical", but you could run "apt-get clean" before installing xfce4. ("apt-get clean" removes all previously downloaded packages from /var/cache/apt/archives/.) Now run "apt-get install xfce4". After apt-get has finished installing xfce4, you can copy the downloaded packages from /var/cache/apt/archives/ to another directory, where you can save them for possible later use. I hope this answers your question.

Edit:

Sorry, I didn't consider the possibility that you might be writing from a Woody (stable) box. I assumed that you have Sarge/testing already installed and apt-setup has given you stable repos. The more info you provide about your system when asking questions, the better informed answers you'll receive. So, if you are running Woody, either install xfce4 from some backport repo found from apt-get.org, or (IMHO, the better alternative) edit /etc/apt/sources.list to point to testing and run "apt-get update" && "apt-get dist-upgrade". Or, do as macondo suggests below and do a complete re-install using the latest installer. :)

macondo 10-03-2004 07:41 AM

If i were you, i would download and burn the iso for tne debian-installer RC2, install Sarge AFTER reading all the links on the thread: "Debian-Installer RC2 is Out", during the installation, and as long as you are in Europe, choose the german ftp debian server.

#apt-get install xfce4

later on look at the plugins with 'apt-cache search xfce4' and install accordingly, if you don't like, uninstall/install until you are happy.

Of course, with my opinion and an euro, you can buy yourself a cup of coffee. :)

llamakc 10-03-2004 07:52 AM

I love the new installer, but if the OP already has Stable installed, all they need to do is change /etc/apt/sources.list to point to testing and do:

apt-get dist-upgrade

Voila! Now you are running Sarge. Your front-end to dpkg/apt will now see the xfce4 packages.

macondo 10-03-2004 08:41 AM

Obviously, but then he would miss the experience of installing with the new d-i. :)

That's why i said "if i were you".

alaios 10-03-2004 09:37 AM

Problems-Problems
 
Take a look at my sources.list file



# deb http://security.debian.org/ stable/updates main contrib non-free

deb ftp://ftp.ntua.gr/pub/linux/debian/ testing main non-free contrib
deb-src ftp://ftp.ntua.gr/pub/linux/debian/ stable main non-free contrib
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free

deb http://security.debian.org/ stable/updates main contrib non-free

# Local folders
#deb file:/debs





I ran the command apt-get update...
The problem is that the command ended returning the following message
E:Dynamic MMap ran out of room
E:Error occured while processing quantlib_refman (NewVersion1)
E:Problem with Mergelist /var/lib/apt/lists/ftp.ntua.gr_pub_linux_debian_dist
E:The package lists os status file could not be parsed or opened


Then i tried to use aptitude in order to find out the xfce4 package....
The aptitude returned with exactly the same error as above.....

What i must do??? I only want to install the xfce4 :(

macondo 10-03-2004 10:05 AM

I told you about 2 months ago to read the APT-HOWTO.

Your sources.list:

# deb http://security.debian.org/ stable/updates main contrib non-free

deb ftp://ftp.ntua.gr/pub/linux/debian/ testing main non-free contrib
deb-src ftp://ftp.ntua.gr/pub/linux/debian/ stable main non-free contrib
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free

deb http://security.debian.org/ stable/updates main contrib non-free

as you can see, you're running a 'stable' sources.list with a 'testing' line.

1. If you want to use Woody (stable):


On the second line change 'testing' for 'stable', so you pull apps from the stable repositories.

a#pt-get update
a#pt-get upgrade

2. If you want to run Sarge (Testing)

With your favorite editor, as root,

#vim /apt/sources.list

change the word 'stable' for 'sarge' in all the lines. I say 'sarge', so when sarge becomes 'stable', you don't have to do anything.

save/exit

#apt-get update
#apt-get dist-upgrade

afterwards, take the default in the configuration questions, and you are in Sarge, more modern apps.

alaios 10-04-2004 12:31 AM

Problems-Problems
 
deb http://security.debian.org/ sarge/updates main contrib non-free

deb http://non-us.debian.org/debian-non-US sarge/non-US main contrib non-free


# Local folders
#deb file:/debs



deb ftp://ftp.de.debian.org/debian/ sarge main non-free contrib


Thx for your answers....but after running the apt-get update or the aptitude iget teh following errors...

E:Dynamic MMap ran out of room
E:Error Occured while processing qt3-dev-tools (NewVersion1)
E:Problem with MergeList /var/lib/opt/lists/ftp.de.debian.org_debian_dists_sa
E:The package lists or status file could not be parsed or opened

The problem is tha i cannot install a new package due to the error above.... I have opened the file /var/lib/opt/lists/ftp.de.debian.org_debian_dists_sa.... and the xfce4 was inside.... but i don't know what erros the file has...

Thx a lot! Have a nice day

Dead Parrot 10-04-2004 12:56 AM

As root, open apt.conf with a text editor "nano /etc/apt/apt.conf". Add this line to the end of the file:
Code:

APT::Cache-Limit "10000000";
Be careful not to make typing errors. Exit text editor saving changes.

That should fix your problem. :)

alaios 10-04-2004 02:42 AM

THX
 
Thx a lot guys it worked fine....
And one more question plz..... If i want to keep all the .deb files in my h/d ??
I am asking because i want to give what i download to my pc and to other guys....
Any good suggestion?

Dead Parrot 10-04-2004 03:10 AM

You should find all your downloaded packages from /var/cache/apt/archives/ -- unless you have run "apt-get clean", which removes them.

alaios 10-04-2004 09:11 AM

different versions using apt
 
Hi..... a new problem has arise in the surface...
I need to install the xserver-xfree86 3.x.x.x version which is located in my debian cd's

The problem is that after updating the package list the aptitude now shows only the 4.x.x.x xserver version...

How i can overpass this problem?
Any suggestion?
Thx


All times are GMT -5. The time now is 07:54 AM.