LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mageia
User Name
Password
Mageia This forum is for the discussion of Mageia Linux.

Notices

Reply
 
Search this Thread
Old 07-05-2013, 01:01 PM   #1
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,215

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Having problems updating Mageia 3 in a chroot environment


I have done this many times in the past on Mageia 3 when it was still the cauldron release with no problem.

I have 2 new installs on my loaner drive, 32 bit and 64 bit. Both are giving me errors.

Will work on the 64 bit install first.

This is what I use to set up the chroot;
Code:
#!/bin/sh

echo "Mageia64"

## mkdir /mnt/Mageia64
mount /dev/sdc14 /mnt/Mageia64/
mount -o bind /proc /mnt/Mageia64/proc
mount -o bind /dev /mnt/Mageia64/dev
mount -o bind /dev/pts /mnt/Mageia64/dev/pts
mount -o bind /sys /mnt/Mageia64/sys
cp /etc/resolv.conf /mnt/Mageia64/etc/resolve.conf
chroot /mnt/Mageia64 /bin/bash
This seems to, as it has for years, work fine.

This is the result of it along with the command I am having trouble with;
Code:
root@debian:/home/thom# echo "Mageia64"
Mageia64
root@debian:/home/thom# 
root@debian:/home/thom# ## mkdir /mnt/Mageia64
root@debian:/home/thom# mount /dev/sdc14 /mnt/Mageia64/
root@debian:/home/thom# mount -o bind /proc /mnt/Mageia64/proc
root@debian:/home/thom# mount -o bind /dev /mnt/Mageia64/dev
root@debian:/home/thom# mount -o bind /dev/pts /mnt/Mageia64/dev/pts
root@debian:/home/thom# mount -o bind /sys /mnt/Mageia64/sys
root@debian:/home/thom# cp /etc/resolv.conf /mnt/Mageia64/etc/resolve.conf
root@debian:/home/thom# chroot /mnt/Mageia64 /bin/bash
[root@debian /]# urpmi --auto-update
What I am getting is this;
Code:
WARNING: gnome-keyring:: couldn't connect to: /home/thom/.cache/keyring-s1kCHr/pkcs11: No such file or directory
...retrieving failed: aria2 failed: exited with 19

WARNING: gnome-keyring:: couldn't connect to: /home/thom/.cache/keyring-s1kCHr/pkcs11: No such file or directory
WARNING: gnome-keyring:: couldn't connect to: /home/thom/.cache/keyring-s1kCHr/pkcs11: No such file or directory
...retrieving failed: aria2 failed: exited with 19
this repeats 11 times and then gives me;
Code:
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "Tainted Release")
  cdrdao                         1.2.3        8.mga3.taint> x86_64  
  gmusicbrowser                  1.1.9        4.mga3.taint> noarch  
  gstreamer0.10-lame             0.10.19      5.mga3.taint> x86_64  
  gstreamer0.10-plugins-ugly     0.10.19      5.mga3.taint> x86_64  
  k3b                            2.0.2        9.mga3.taint> x86_64  
  lib64dca0                      0.0.5        5.mga3.taint> x86_64  
  lib64dvdcss2                   1.2.12       2.mga3.taint> x86_64  
  lib64faad2                     2.7          6.mga3.taint> x86_64  
  lib64freetype6                 2.4.11       2.mga3.taint> x86_64  
  lib64k3bdevice6                2.0.2        9.mga3.taint> x86_64  
  lib64k3blib6                   2.0.2        9.mga3.taint> x86_64  
  lib64llvmradeon9.1.2           9.1.2        1.mga3.taint> x86_64  
  lib64pano13_2                  2.9.18       7.mga3.taint> x86_64  
  lib64quicktime0                1.2.4        2.mga3.taint> x86_64  
  lib64rtmp0                     2.4          0.git2011122> x86_64  
  lib64xine1                     1.1.21       6.mga3.taint> x86_64  
  libpano13-tools                2.9.18       7.mga3.taint> x86_64  
  mencoder                       1.1          12.r35916.4.> x86_64  
  mplayer                        1.1          12.r35916.4.> x86_64  
  xine-plugins                   1.1.21       6.mga3.taint> x86_64  
759KB of additional disk space will be used.
16MB of packages will be retrieved.
Proceed with the installation of the 20 packages? (Y/n)
This looks right to me so I go for it. This results in;
Code:
Proceed with the installation of the 20 packages? (Y/n) Y


WARNING: gnome-keyring:: couldn't connect to: /home/thom/.cache/keyring-s1kCHr/pkcs11: No such file or directory
    $MIRRORLIST: media/tainted/release/cdrdao-1.2.3-8.mga3.tainted.x86_64.rpm
WARNING: gnome-keyring:: couldn't connect to: /home/thom/.cache/keyring-s1kCHr/pkcs11: No such file or directory
aria2 failed: exited with 19

Failed to download cdrdao-1.2.3-8.mga3.tainted.x86_64.rpm
Retry? (y/N)
I can go and log in and it will, in the gui update tool, give me any packages that need upgrading. But installing packages in the install gui works fine.

I am headed over there now to see what happens in terminal when logged in.

Suspect this is some how a problem I caused. I really like Mageia, particularly Mageia 3 but am a Debian user and so probably do not grasp fully the proper use fo the Mageia package management tools.

Any help will be gratefully accepted.

This is Mageia 3 with KDE and pretty much the default install from the install DVD. Includes the Radeon driver.

My specs are in my sig.
 
Old 07-05-2013, 01:20 PM   #2
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,215

Original Poster
Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Logged into Mageia 3 64 bit with KDE.

Ran the command from konsole there. Ran fine;
Code:
[tom@localhost ~]$ su Password:  [root@localhost tom]# urpmi --auto-update medium "Core Release2" is up-to-date medium "Core Updates" is up-to-date medium "Nonfree Release2" is up-to-date medium "Nonfree Updates" is up-to-date medium "Tainted Release" is up-to-date medium "Tainted Updates" is up-to-date medium "Core 32bit Release" is up-to-date medium "Core 32bit Updates" is up-to-date medium "Nonfree 32bit Release" is up-to-date medium "Nonfree 32bit Updates" is up-to-date To satisfy dependencies, the following packages are going to be installed:   Package                        Version      Release       Arch     (medium "Tainted Release")   cdrdao                         1.2.3        8.mga3.taint> x86_64     gmusicbrowser                  1.1.9        4.mga3.taint> noarch     gstreamer0.10-lame             0.10.19      5.mga3.taint> x86_64     gstreamer0.10-plugins-ugly     0.10.19      5.mga3.taint> x86_64     k3b                            2.0.2        9.mga3.taint> x86_64     lib64dca0                      0.0.5        5.mga3.taint> x86_64     lib64dvdcss2                   1.2.12       2.mga3.taint> x86_64     lib64faad2                     2.7          6.mga3.taint> x86_64     lib64freetype6                 2.4.11       2.mga3.taint> x86_64     lib64k3bdevice6                2.0.2        9.mga3.taint> x86_64     lib64k3blib6                   2.0.2        9.mga3.taint> x86_64     lib64llvmradeon9.1.2           9.1.2        1.mga3.taint> x86_64     lib64pano13_2                  2.9.18       7.mga3.taint> x86_64     lib64quicktime0                1.2.4        2.mga3.taint> x86_64     lib64rtmp0                     2.4          0.git2011122> x86_64     lib64xine1                     1.1.21       6.mga3.taint> x86_64     libpano13-tools                2.9.18       7.mga3.taint> x86_64     mencoder                       1.1          12.r35916.4.> x86_64     mplayer                        1.1          12.r35916.4.> x86_64     xine-plugins                   1.1.21       6.mga3.taint> x86_64   759KB of additional disk space will be used. 16MB of packages will be retrieved. Proceed with the installation of the 20 packages? (Y/n)                                                                                                                                                      $MIRRORLIST: media/tainted/release/cdrdao-1.2.3-8.mga3.tainted.x86_64.rpm     $MIRRORLIST: media/tainted/release/lib64dca0-0.0.5-5.mga3.tainted.x86_64.rpm                                                                  $MIRRORLIST: media/tainted/release/gstreamer0.10-lame-0.10.19-5.mga3.tainted.x86_64.rpm                                                       $MIRRORLIST: media/tainted/release/lib64faad2-2.7-6.mga3.tainted.x86_64.rpm                                                                   $MIRRORLIST: media/tainted/release/gstreamer0.10-plugins-ugly-0.10.19-5.mga3.tainted.x86_64.rpm                                               $MIRRORLIST: media/tainted/release/lib64dvdcss2-1.2.12-2.mga3.tainted.x86_64.rpm                                                              $MIRRORLIST: media/tainted/release/lib64freetype6-2.4.11-2.mga3.tainted.x86_64.rpm                                                            $MIRRORLIST: media/tainted/release/gmusicbrowser-1.1.9-4.mga3.tainted.noarch.rpm                                                          installing cdrdao-1.2.3-8.mga3.tainted.x86_64.rpm gstreamer0.10-lame-0.10.19-5.mga3.tainted.x86_64.rpm lib64dca0-0.0.5-5.mga3.tainted.x86_64.rpm gstreamer0.10-plugins-ugly-0.10.19-5.mga3.tainted.x86_64.rpm lib64faad2-2.7-6.mga3.tainted.x86_64.rpm lib64dvdcss2-1.2.12-2.mga3.tainted.x86_64.rpm lib64freetype6-2.4.11-2.mga3.tainted.x86_64.rpm gmusicbrowser-1.1.9-4.mga3.tainted.noarch.rpm from /var/cache/urpmi/rpms Preparing...                     ###########################################################################################################      1/20: gstreamer0.10-plugins-ugly                                  ###########################################################################################################      2/20: gstreamer0.10-lame    ###########################################################################################################      3/20: gmusicbrowser         ###########################################################################################################      4/20: lib64freetype6        ###########################################################################################################      5/20: lib64dvdcss2          ###########################################################################################################      6/20: lib64faad2            ###########################################################################################################      7/20: lib64dca0             ###########################################################################################################      8/20: cdrdao                ###########################################################################################################       1/4: removing gmusicbrowser-1:1.1.9-4.mga3.noarch                                  ###########################################################################################################       2/4: removing gstreamer0.10-plugins-ugly-0.10.19-5.mga3.x86_64                                  ###########################################################################################################       3/4: removing lib64freetype6-2.4.11-2.mga3.x86_64                                  ###########################################################################################################       4/4: removing cdrdao-1.2.3-8.mga3.x86_64                                  ###########################################################################################################       $MIRRORLIST: media/tainted/release/lib64k3bdevice6-2.0.2-9.mga3.tainted.x86_64.rpm     $MIRRORLIST: media/tainted/release/lib64k3blib6-2.0.2-9.mga3.tainted.x86_64.rpm                                                               $MIRRORLIST: media/tainted/release/lib64quicktime0-1.2.4-2.mga3.tainted.x86_64.rpm                                                            $MIRRORLIST: media/tainted/release/k3b-2.0.2-9.mga3.tainted.x86_64.rpm                                                                        $MIRRORLIST: media/tainted/release/lib64pano13_2-2.9.18-7.mga3.tainted.x86_64.rpm                                                             $MIRRORLIST: media/tainted/release/lib64xine1-1.1.21-6.mga3.tainted.x86_64.rpm                                                                $MIRRORLIST: media/tainted/release/libpano13-tools-2.9.18-7.mga3.tainted.x86_64.rpm                                                           $MIRRORLIST: media/tainted/release/xine-plugins-1.1.21-6.mga3.tainted.x86_64.rpm                                                          installing lib64k3bdevice6-2.0.2-9.mga3.tainted.x86_64.rpm lib64k3blib6-2.0.2-9.mga3.tainted.x86_64.rpm lib64quicktime0-1.2.4-2.mga3.tainted.x86_64.rpm k3b-2.0.2-9.mga3.tainted.x86_64.rpm lib64pano13_2-2.9.18-7.mga3.tainted.x86_64.rpm lib64xine1-1.1.21-6.mga3.tainted.x86_64.rpm libpano13-tools-2.9.18-7.mga3.tainted.x86_64.rpm xine-plugins-1.1.21-6.mga3.tainted.x86_64.rpm from /var/cache/urpmi/rpms Preparing...                     ###########################################################################################################      9/20: lib64k3bdevice6       ###########################################################################################################     10/20: lib64k3blib6          ###########################################################################################################     11/20: lib64xine1            ###########################################################################################################     12/20: lib64pano13_2         ###########################################################################################################     13/20: libpano13-tools       ###########################################################################################################     14/20: xine-plugins          ###########################################################################################################     15/20: k3b                   ###########################################################################################################     16/20: lib64quicktime0       ###########################################################################################################       1/8: removing k3b-4:2.0.2-9.mga3.x86_64                                  ###########################################################################################################       2/8: removing lib64k3blib6-4:2.0.2-9.mga3.x86_64                                  ###########################################################################################################       3/8: removing xine-plugins-1.1.21-6.mga3.x86_64                                  ###########################################################################################################       4/8: removing libpano13-tools-2.9.18-7.mga3.x86_64                                  ###########################################################################################################       5/8: removing lib64pano13_2-2.9.18-7.mga3.x86_64                                  ###########################################################################################################       6/8: removing lib64xine1-1.1.21-6.mga3.x86_64                                  ###########################################################################################################       7/8: removing lib64k3bdevice6-4:2.0.2-9.mga3.x86_64                                  ###########################################################################################################       8/8: removing lib64quicktime0-1.2.4-2.mga3.x86_64                                  ###########################################################################################################       $MIRRORLIST: media/tainted/release/mplayer-1.1-12.r35916.4.mga3.tainted.x86_64.rpm     $MIRRORLIST: media/tainted/release/lib64rtmp0-2.4-0.git20111228.4.mga3.tainted.x86_64.rpm                                                     $MIRRORLIST: media/tainted/release/lib64llvmradeon9.1.2-9.1.2-1.mga3.tainted.x86_64.rpm                                                       $MIRRORLIST: media/tainted/release/mencoder-1.1-12.r35916.4.mga3.tainted.x86_64.rpm                                                       installing lib64rtmp0-2.4-0.git20111228.4.mga3.tainted.x86_64.rpm mplayer-1.1-12.r35916.4.mga3.tainted.x86_64.rpm lib64llvmradeon9.1.2-9.1.2-1.mga3.tainted.x86_64.rpm mencoder-1.1-12.r35916.4.mga3.tainted.x86_64.rpm from /var/cache/urpmi/rpms Preparing...                     ###########################################################################################################     17/20: mplayer               ###########################################################################################################     18/20: mencoder              ###########################################################################################################     19/20: lib64llvmradeon9.1.2  ###########################################################################################################     20/20: lib64rtmp0            ###########################################################################################################       1/4: removing mencoder-1.1-12.r35916.4.mga3.x86_64                                  ###########################################################################################################       2/4: removing mplayer-1.1-12.r35916.4.mga3.x86_64                                  ###########################################################################################################       3/4: removing lib64llvmradeon9.1.2-9.1.2-1.mga3.x86_64                                  ###########################################################################################################       4/4: removing lib64rtmp0-2.4-0.git20111228.4.mga3.x86_64                                  ###########################################################################################################  The following packages:   lcms2-2.4-3.mga3.x86_64   lib64llvmradeon9.1.2-9.1.2-1.mga3.tainted.x86_64 are now orphaned, if you wish to remove them, you can use "urpme --auto-orphans" [root@localhost tom]#
One thing I see is not in my sig is that I run Xfce under Debian where the chroot was set up. Version was Wheezy (Debian 7) which is the current Debian New Stable.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Mageia 2 and E17 desktop environment LXer Syndicated Linux News 0 05-25-2012 12:30 PM
chroot environment shiva1990 Linux - Newbie 2 01-25-2011 08:55 AM
getting started in chroot environment Mystified Linux From Scratch 3 03-28-2005 09:11 AM
Out of the chroot environment? R2RO Linux - Networking 0 05-14-2003 04:01 PM
Getting in and out and in again in the CHROOT environment? kRu_ZaDeR Linux From Scratch 8 01-13-2003 12:20 AM


All times are GMT -5. The time now is 11:25 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration