[solved] Can't install new software

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[solved] Can't install new software

Postby Codalunga » Jun 5th, '11, 15:25

Hi everyone! :D
I installed Mageia with the gnome live cd without any problem. First look was great, it seems a great distro! :) I wanted Pidgin as IM client so I opened Mageia contro center --> Install/remove software. But it only shows the installed packages, nothing appears when I search for something. When I tried to configure something, I found out that there wasn't a mirror. The URL for Core updates and Non free updates was $MIRRORLIST, so I suppose is a mirror problem for both update and install new software (again, I suppose). Anyone can help? :)
User avatar
Codalunga
 
Posts: 16
Joined: Jun 5th, '11, 14:57

Re: Can't install new software

Postby rc2011 » Jun 5th, '11, 17:42

Go to Mageia Center, Software Management and under that you will see configure media sources for install and update. Choose the mirrors there that you want to use. If you are unsure what any of the names mean or the type of mirror you want do a quick search here at this forum or a Google (or you favorite search engine,) search. Also when you go to install check the two drop down menus on the top left above the software menu list. Make sure they are set to all and all.
Health nuts are going to feel stupid someday, lying in hospitals, dying of nothing.
rc2011
 
Posts: 13
Joined: Jun 4th, '11, 04:58

Re: Can't install new software

Postby Akien » Jun 5th, '11, 23:29

As a complement: you can find more info about the contents of every repository in the release notes.
See this page (or its translation in your favorite language): http://mageia.org/en/1/notes/#install

To install free software, you may want to activate the Core and Core Updates repositories. If you want non-free softwares, you need to activate Nonfree and if you want "tainted" software, i.e. software which may be prohibited in some countries, such as video codecs, you need the media Tainted.
Image
Co-leader of Mageia's packaging and development team (dev).
List of packages I maintain.
User avatar
Akien
 
Posts: 171
Joined: Jun 5th, '11, 22:54
Location: Brunswick, Germany

Re: Can't install new software

Postby Codalunga » Jun 6th, '11, 02:00

Thanks for your reply but it didn't work :( I changed three different mirrors but still I can't update or find new software. In configure media sources for install and update I've got Core Nonfree and Tainted as you said thought.
What's the difference between curl, wget and aria2?
User avatar
Codalunga
 
Posts: 16
Joined: Jun 5th, '11, 14:57

Re: Can't install new software

Postby Akien » Jun 6th, '11, 11:31

Could you try to install something via the command line? Not that the result will be different, since the Mageia Control Centre is a graphical interface for the command line tools, but it may print a useful error message.

Launch "Konsole" through Menu > Tools > Konsole (in KDE at least).
Then log as a superuser typing "su". You will be asked for your administrator password (just like when you launch Mageia Control Centre, but in the command line).
Once you're logged as "root", try to install a software, e.g.
Code: Select all
[root@localhost ~]# urpmi pidgin


An error message will probably be prompted, and it will help us solve your problem.
Image
Co-leader of Mageia's packaging and development team (dev).
List of packages I maintain.
User avatar
Akien
 
Posts: 171
Joined: Jun 5th, '11, 22:54
Location: Brunswick, Germany

Re: Can't install new software

Postby Codalunga » Jun 6th, '11, 18:40

I did what you said and it shows "no package called Pidgin" or something like that (got it in italian :P). Right after the installation I thought there was no update, but then I found out that I could not even install new software so...
There's no difference between mirrors, right? (DE, FR, CH ecc.)
User avatar
Codalunga
 
Posts: 16
Joined: Jun 5th, '11, 14:57

Re: Can't install new software

Postby Akien » Jun 6th, '11, 19:02

That's strange. Are you sure you enabled the media sources in Mageia Control Center?
When you are in the "Configure Media" window, you should see the list of the media sources. On the left, there is column named "Activated" with checkboxes.

To install Pidgin, which is in the Core repository, you should have this entry activated :
Type: Mirror list Media: Core Release (distrib1)

If this is not the issue, then maybe you're on a totally empty mirror, but I have not heard of any empty mirror. Maybe you can try again using a different mirror?
I personally use the Esslingen mirror, and it works well. You can find the list of mirrors here: http://mirrors.mageia.org/
Image
Co-leader of Mageia's packaging and development team (dev).
List of packages I maintain.
User avatar
Akien
 
Posts: 171
Joined: Jun 5th, '11, 22:54
Location: Brunswick, Germany

Re: Can't install new software

Postby maat » Jun 6th, '11, 19:14

Hi,

Could you post here the result of the following command ?
Code: Select all
while read line ; do start=$(echo "$line" | sed -ne "s/ *{ *$//p"); ignore=$(echo "$line" | grep "ignore"); end=$(echo "$line" | grep "}"); [ "x$start" != "x" ] && echo_start=$start; [ "x$ignore" == "xignore" ] && echo_ignore="ignore"; if [ "x$end" != "x" ]; then if [ "x$echo_ignore" == "xignore" ]; then echo -n "ignore:"; fi; echo $echo_start; start=""; echo_ignore=""; end=""; fi; done < /etc/urpmi/urpmi.cfg
maat
 
Posts: 307
Joined: Feb 13th, '11, 00:23

Re: Can't install new software

Postby Codalunga » Jun 6th, '11, 19:29

Code: Select all
Core Release (distrib1)
ignore:Core Release Debug (distrib2)
Core Updates (distrib3)
ignore:Core Updates Debug (distrib4)
ignore:Core Updates Testing (distrib5)
ignore:Core Updates Testing Debug (distrib6)
ignore:Core Backports (distrib7)
ignore:Core Backports Debug (distrib8)
ignore:Core Backports Testing (distrib9)
ignore:Core Backports Testing Debug (distrib10)
Nonfree Release (distrib11)
ignore:Nonfree Release Debug (distrib12)
Nonfree Updates (distrib13)
ignore:Nonfree Updates Debug (distrib14)
ignore:Nonfree Updates Testing (distrib15)
ignore:Nonfree Updates Testing Debug (distrib16)
ignore:Nonfree Backports (distrib17)
ignore:Nonfree Backports Debug (distrib18)
ignore:Nonfree Backports Testing (distrib19)
ignore:Nonfree Backports Testing Debug (distrib20)
ignore:Tainted Release (distrib21)
ignore:Tainted Release Debug (distrib22)
ignore:Tainted Updates (distrib23)
ignore:Tainted Updates Debug (distrib24)
ignore:Tainted Updates Testing (distrib25)
ignore:Tainted Updates Testing Debug (distrib26)
ignore:Tainted Backports (distrib27)
ignore:Tainted Backports Debug (distrib28)
ignore:Tainted Backports Testing (distrib29)
ignore:Tainted Backports Testing Debug (distrib30)


I have Core release and Nonfree release as activated. Core updates and nonfree updates activated and checked at "update" (right next to activated)
User avatar
Codalunga
 
Posts: 16
Joined: Jun 5th, '11, 14:57

Re: Can't install new software

Postby maat » Jun 6th, '11, 19:40

Seems ok

Then could you post here the result of the following command ?
Code: Select all
sed -ne "s/.*'chosen' => '\(.*\)'.*/\1/p" /var/cache/urpmi/mirrors.cache
maat
 
Posts: 307
Joined: Feb 13th, '11, 00:23

Re: Can't install new software

Postby maat » Jun 6th, '11, 19:43

Then try this and give the result :

Code: Select all
urpmi.update -a -f
urpmi --debug --test pidgin
maat
 
Posts: 307
Joined: Feb 13th, '11, 00:23

Re: Can't install new software

Postby Codalunga » Jun 6th, '11, 20:35

Code: Select all
http://mageia.unige.ch/mirror/
rsync://ftp.LinuxCabal.org/Mageia/distrib/1/i586


Code: Select all
urpmi.update -a -f
il supporto "Core Release (distrib1)" risulta già aggiornato
il supporto "Core Updates (distrib3)" risulta già aggiornato
il supporto "Nonfree Release (distrib11)" risulta già aggiornato
il supporto "Nonfree Updates (distrib13)" risulta già aggiornato
[codalunga@localhost ~]$ urpmi --debug --test pidgin
bash: urpmi: command not found

Risulta già aggiornato means that it's already updated.
EDIT: guys... It's working. Well, now I can find new software. But I still can't update anything. I've not changed mirrors or options, it's just working fine for new software. Does Mageia install updates automatically without notifications?
Last edited by Codalunga on Jun 6th, '11, 20:44, edited 2 times in total.
User avatar
Codalunga
 
Posts: 16
Joined: Jun 5th, '11, 14:57

Re: Can't install new software

Postby maat » Jun 6th, '11, 20:41

urpmi must be run as super utilisateur root

you need to type this before usig urpmi :
Code: Select all
su -

and provide root password when asked to :)
maat
 
Posts: 307
Joined: Feb 13th, '11, 00:23

Re: Can't install new software

Postby Codalunga » Jun 6th, '11, 20:45

Read my edit. It's working now for new software. I have not changed any options or mirror though. Still nothing for updates. Does Mageia install updates automatically without notifications?
Thanks for your help :D
User avatar
Codalunga
 
Posts: 16
Joined: Jun 5th, '11, 14:57

Re: Can't install new software

Postby maat » Jun 6th, '11, 20:51

There's been no update pushed yet :
One of the refecence mirrors is empty : http://distrib-coffee.ipsl.jussieu.fr/p ... e/updates/
As is yours : http://mageia.unige.ch/mirror/distrib/1 ... e/updates/

:)
Edit: I think i can mark the topic "solved" :)
maat
 
Posts: 307
Joined: Feb 13th, '11, 00:23

Re: Can't install new software

Postby isadora » Jun 6th, '11, 20:52

Updates will be available as soon they are going to be released.
After the release over Mageia 1, the system for updates has been frozen.
It won't be too long before new updates become available.
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2765
Joined: Mar 25th, '11, 16:03
Location: Netherlands


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron