Page 1 of 1

[SOLVED] Repositories

PostPosted: Mar 14th, '13, 14:29
by freetibet
Hi,
I am trying to install zone minder (the good new one)
I need to add a full set of repositories and enable tainted.
I only have command line access via SSH…
Thanks...

Re: Repositories

PostPosted: Mar 14th, '13, 21:08
by doktor5000
You should take a look at https://wiki.mageia.org/en/URPMI#Adding ... stribution

What you want to do is:
Code: Select all
urpmi.addmedia --distrib --mirrorlist
urpmi.update --ignore "Nonfree Release" "Nonfree Updates"
urpmi.update -a && urpmi zoneminder


If the second command fails due to wrong media names, please show the output of
Code: Select all
urpmq --list-media

as it needs the exact media names, otherwise you would enable all nonfree repositories including testing, backports and debug.

Re: Repositories

PostPosted: Mar 15th, '13, 00:22
by freetibet
hmmm thanks that looks like it resolved all the dialogue boxes I got before…
I got a few errors…
Code: Select all
adding medium "Core 32bit Backports Testing Debug2" (ignored by default)
    $MIRRORLIST: media/core/release/media_info/20130314-212251-synthesis.hdlist.cz
    $MIRRORLIST: media/core/updates/media_info/20120913-184610-synthesis.hdlist.cz                                                                             
    $MIRRORLIST: media/../../i586/media/core/release/media_info/20130313-230402-synthesis.hdlist.cz                                                           
...retrieving failed:        0B/s|/var/cache/urpmi/partial/20130313-230402-synthesis.hdlist.cz
...retrieving failed:        0B/s|/var/cache/urpmi/partial/20130313-230402-synthesis.hdlist.cz
...retrieving failed: aria2 failed: exited with 3
problem reading synthesis file of medium "Core 32bit Release2"
[root@localhost cctvadmin]# urpmi.update --ignore "Nonfree Release" "Nonfree Updates"
[root@localhost cctvadmin]# urpmi.update -a && urpmi zoneminder
    $MIRRORLIST: media/core/release/media_info/20130314-212251-synthesis.hdlist.cz
updated medium "Core Release"
medium "Core Updates" is up-to-date                                                                                                                           
    $MIRRORLIST: media/../../i586/media/core/release/media_info/20130313-230402-synthesis.hdlist.cz
...retrieving failed:        0B/s|/var/cache/urpmi/partial/20130313-230402-synthesis.hdlist.cz
...retrieving failed:        0B/s|/var/cache/urpmi/partial/20130313-230402-synthesis.hdlist.cz
...retrieving failed: aria2 failed: exited with 3
problem reading synthesis file of medium "Core 32bit Release"
medium "Core 32bit Updates" is up-to-date
[root@localhost cctvadmin]# 



running urpmq --list-media
I got
Code: Select all
[root@localhost cctvadmin]# urpmq --list-media
Core media
Core Release
Core Release Debug
Core Updates
Core Updates Debug
Core Updates Testing
Core Updates Testing Debug
Core Backports
Core Backports Debug
Core Backports Testing
Core Backports Testing Debug
Nonfree Release
Nonfree Release Debug
Nonfree Updates
Nonfree Updates Debug
Nonfree Updates Testing
Nonfree Updates Testing Debug
Nonfree Backports
Nonfree Backports Debug
Nonfree Backports Testing
Nonfree Backports Testing Debug
Tainted Release
Tainted Release Debug
Tainted Updates
Tainted Updates Debug
Tainted Updates Testing
Tainted Updates Testing Debug
Tainted Backports
Tainted Backports Debug
Tainted Backports Testing
Tainted Backports Testing Debug
Core 32bit Release
Core 32bit Release Debug
Core 32bit Updates
Core 32bit Updates Debug
Core 32bit Updates Testing
Core 32bit Updates Testing Debug
Core 32bit Backports
Core 32bit Backports Debug
Core 32bit Backports Testing
Core 32bit Backports Testing Debug
[root@localhost cctvadmin]#

Re: Repositories

PostPosted: Mar 15th, '13, 00:46
by Ken-Bergen
Code: Select all
   $MIRRORLIST: media/../../i586/media/core/release/media_info/20130313-230402-synthesis.hdlist.cz                                                           
...retrieving failed:        0B/s|/var/cache/urpmi/partial/20130313-230402-synthesis.hdlist.cz
...retrieving failed:        0B/s|/var/cache/urpmi/partial/20130313-230402-synthesis.hdlist.cz
...retrieving failed: aria2 failed: exited with 3
problem reading synthesis file of medium "Core 32bit Release2"
In Cauldron that usually means the mirror was in the middle of being updated, try again later.

Re: Repositories

PostPosted: Mar 15th, '13, 08:53
by freetibet
thanks that went fairly smoothly had to choose a php package…
but then it looks like mysql was not installed
*** Welcome to ZoneMinder Setup ***
Please wait a moment...
Failed to issue method call: Unit mysqld.service failed to load: No such file or directory. See system logs and 'systemctl status mysqld.service' for details.
Please enter your mysql root password:
so i installed that and all good :-)

Re: Repositories

PostPosted: Mar 15th, '13, 09:12
by isadora
Freetibet, please don't forget to mark your topic solved, when so. ;)

Thank you!!!