View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 12 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Upgrading 8.1 to 8.2
PostPosted: Sat May 16, 2015 8:51 pm 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 997
Location: Lexington, Ky
Is it still possible to upgrade 8.1 to 8.2 using the "update81-82.sh script" ?


Top
 Profile  
 
 Post subject: Re: Upgrading 8.1 to 8.2
PostPosted: Tue May 19, 2015 6:50 am 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
I think it should work but haven't tested it. Just make sure to set your repos in /etc/pacman.conf to point to http://linhes.org/repo/x86_64/core.r8.2/ and http://linhes.org/repo/x86_64/extra.r8.2/


Top
 Profile  
 
 Post subject: Re: Upgrading 8.1 to 8.2
PostPosted: Tue May 19, 2015 1:52 pm 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 997
Location: Lexington, Ky
Thanks for the reply. I'll look things over and give it a shot.


Top
 Profile  
 
 Post subject: Re: Upgrading 8.1 to 8.2
PostPosted: Tue May 19, 2015 2:45 pm 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 997
Location: Lexington, Ky
Britney, I've looked over the instructions and have a question. The update script has two direct references:
Code:
curl -o filesystem-itermediate.pkg.tar.xz http://linhes.org/repo/x86_64/filesystem-itermediate.pkg.tar.xz
and
curl -o glibc-2.18-11-x86_64.pkg.tar.xz http://linhes.org/repo/x86_64/core/glibc-2.18-11-x86_64.pkg.tar.xz


The package location for "filesystem-itermediate.pkg.tar.xz" is still valid, but I think I'd need to change the script from:
Code:
http://linhes.org/repo/x86_64/core/glibc-2.18-11-x86_64.pkg.tar.xz
to
http://linhes.org/repo/x86_64/core.r8.2/glibc-2.18-11-x86_64.pkg.tar.xz

So can I copy the script to my local machine, make the above change, change the repos in /etc/pacman.conf and then run the script?

Thanks,

Tim
Or I guess you could update the source?


Top
 Profile  
 
 Post subject: Re: Upgrading 8.1 to 8.2
PostPosted: Tue May 19, 2015 4:07 pm 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
tscholl wrote:
So can I copy the script to my local machine, make the above change, change the repos in /etc/pacman.conf and then run the script?
Yes.


Top
 Profile  
 
 Post subject: Re: Upgrading 8.1 to 8.2
PostPosted: Wed May 20, 2015 10:24 am 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 997
Location: Lexington, Ky
Ok just need a sanity check here.

I changed the pacman.conf to:
Code:
[core]
SigLevel = Optional TrustedOnly
#Server = http://bits.linhes.org/repo/$arch/$repo/
Server = http://linhes.org/repo/x86_64/core.r8.2/

[extra]
SigLevel = Optional TrustedOnly
#Server = http://bits.linhes.org/repo/$arch/$repo/
Server = http://linhes.org/repo/x86_64/extra.r8.2/


Then started the modified script. Started to get a lot of down grading pack messages and then kept asking questions: (See below)
Code:
About to update the OS to LinHES 8.2
This process will only work if currently running LinHES 8.1 or later
*  Please respond with Y to ALL the yes/no questions
*  Answer Y to remove sysvinit
*  If prompted about libgl, select the gl that is appropiate for your system

Press Y to continue, any other key to stop
Y
Syncing pacman repos...

Downloading filesystem and glibc for later use, please wait...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  8500  100  8500    0     0  44054      0 --:--:-- --:--:-- --:--:-- 85000
filesystem package downloaded
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 8337k  100 8337k    0     0  1612k      0  0:00:05  0:00:05 --:--:-- 1853k
glibc package downloaded
Installing tdb...
warning: tdb-1.3.0-2 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Packages (1):

Name      Old Version  New Version  Net Change

core/tdb  1.3.0-2      1.3.0-2        0.00 MiB

Total Installed Size:   0.18 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring                     [######################] 100%
(1/1) checking package integrity                   [######################] 100%
(1/1) loading package files                        [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
(1/1) reinstalling tdb                             [######################] 100%

Removing miscellanous files not in packages...

Removing symlinks not in poweroff-scripts package...

Updating packages...
:: Synchronizing package databases...
 core is up to date
 extra is up to date
warning: downgrading package lirc (1:0.9.0-34 => 0.9.0-74)
warning: downgrading package lirc-utils (1:0.9.0-34 => 0.9.0-74)
:: Starting full system upgrade...
warning: bash: ignoring package upgrade (4.2.045-2 => 4.3.027-1)
:: Replace bluez with extra/bluez-utils? [Y/n] Y
:: Replace dbus-core with core/dbus? [Y/n] Y
warning: filesystem: ignoring package upgrade (2012.10-2 => 2013.05-4)
warning: glibc: ignoring package upgrade (2.16.0-2 => 2.18-11)
:: Replace khrplatform-devel with core/mesa? [Y/n]

I canceled out of the script at this point.

So is what I'm seeing the expected behavior, and Is it safe to continue?

Thanks


Top
 Profile  
 
 Post subject: Re: Upgrading 8.1 to 8.2
PostPosted: Mon May 25, 2015 7:06 am 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
While I think your mod of the pacman.conf should work the easier way would be:
Code:
[core.r8.2]
SigLevel = Optional TrustedOnly
Server = http://bits.linhes.org/repo/$arch/$repo/

And then the same for extra.

The only downgrade I see was for lirc which was normal. The rest of those replaces look normal from what I remember.


Top
 Profile  
 
 Post subject: Re: Upgrading 8.1 to 8.2
PostPosted: Mon May 25, 2015 12:07 pm 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 997
Location: Lexington, Ky
When pacman conf is set to
Code:
[core.r8.2]
SigLevel = Optional TrustedOnly
Server = http://bits.linhes.org/repo/$arch/$repo/

[extra.r8.2]
SigLevel = Optional TrustedOnly
Server = http://bits.linhes.org/repo/$arch/$repo/


It doesn't find the correct repos and returns this:
Code:
Syncing pacman repos...
error: failed retrieving file 'core.r8.2.db' from bits.linhes.org : The requested URL returned error: 404
error: failed to update core.r8.2 (download library error)
error: failed retrieving file 'extra.r8.2.db' from bits.linhes.org : The requested URL returned error: 404
error: failed to update extra.r8.2 (download library error)
error: failed to synchronize any databases
error: failed to init transaction (download library error)

WARNING! The current repos in /etc/pacman.conf do not look like they
         contain packages for LinHES 8.2.
The update cannot continue. Exiting.


Was more concerned about having to keep answering Y ...


Top
 Profile  
 
 Post subject: Re: Upgrading 8.1 to 8.2
PostPosted: Tue May 26, 2015 6:41 am 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
You are right. I forgot the db name wasn't changed.


Top
 Profile  
 
 Post subject: Re: Upgrading 8.1 to 8.2
PostPosted: Mon Jun 01, 2015 10:18 am 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 997
Location: Lexington, Ky
Ok I tried this again but am wondering about this question. While updating the repo.

Code:
:: Replace khrplatform-devel with core/mesa? [Y/n] Y
:: Replace libegl with core/mesa? [Y/n] Y
:: Replace libglapi with core/mesa? [Y/n] Y
:: Replace libsystemd with core/systemd? [Y/n] Y
:: Replace lzo2 with core/lzo? [Y/n] Y
:: Replace nss-myhostname with core/systemd? [Y/n] Y
:: Replace pyopenssl with core/python2-pyopenssl? [Y/n] Y
:: Replace python-pexpect with core/python2-pexpect? [Y/n] Y
:: Replace systemd-tools with core/systemd? [Y/n] Y
:: Replace sysvinit-tools with core/procps-ng? [Y/n] Y
resolving dependencies...
:: There are 2 providers available for libgl:
:: Repository core
   1) mesa-libgl  2) nvidia-libgl

Enter a number (default=1): 2
warning: dependency cycle detected:
warning: poweroff-scripts will be installed before its runit dependency
warning: dependency cycle detected:
warning: php-gd will be installed before its php dependency
warning: dependency cycle detected:
warning: php-mcrypt will be installed before its php dependency
looking for inter-conflicts...
:: systemd-sysvcompat and sysvinit are in conflict. Remove sysvinit? [y/N


What's the correct response for "Remove sysvinit"

Thanks


Top
 Profile  
 
 Post subject: Re: Upgrading 8.1 to 8.2
PostPosted: Mon Jun 01, 2015 10:24 am 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
From the beginning of the script:
Code:
About to update the OS to LinHES 8.2
This process will only work if currently running LinHES 8.1 or later
*  Please respond with Y to ALL the yes/no questions
*  Answer Y to remove sysvinit
*  If prompted about libgl, select the gl that is appropiate for your system


Top
 Profile  
 
 Post subject: Re: Upgrading 8.1 to 8.2
PostPosted: Mon Jun 01, 2015 2:37 pm 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 997
Location: Lexington, Ky
Britney,

Thanks for all your help. The script ran as modified with no problems!!! :D :D

Thanks for your confirmation on answering YES to "ALL" questions including the one that the "default" reply is NO. (Glad i asked)

To anyone else needing to upgrade from 8.1 to 8.2. I highly recommend this approach. After the reboot everything just works. No tweaks or changes needed.

Thanks again!

PS: Don't forget to return your pacman.conf back to the original settings after the reboot.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu