LinHES Forums http://forums.linhes.org/ |
|
Upgrading 8.1 to 8.2 http://forums.linhes.org/viewtopic.php?f=21&t=24175 |
Page 1 of 1 |
Author: | tscholl [ Sat May 16, 2015 8:51 pm ] |
Post subject: | Upgrading 8.1 to 8.2 |
Is it still possible to upgrade 8.1 to 8.2 using the "update81-82.sh script" ? |
Author: | brfransen [ Tue May 19, 2015 6:50 am ] |
Post subject: | Re: Upgrading 8.1 to 8.2 |
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/ |
Author: | tscholl [ Tue May 19, 2015 1:52 pm ] |
Post subject: | Re: Upgrading 8.1 to 8.2 |
Thanks for the reply. I'll look things over and give it a shot. |
Author: | tscholl [ Tue May 19, 2015 2:45 pm ] |
Post subject: | Re: Upgrading 8.1 to 8.2 |
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? |
Author: | brfransen [ Tue May 19, 2015 4:07 pm ] |
Post subject: | Re: Upgrading 8.1 to 8.2 |
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.
|
Author: | tscholl [ Wed May 20, 2015 10:24 am ] |
Post subject: | Re: Upgrading 8.1 to 8.2 |
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 |
Author: | brfransen [ Mon May 25, 2015 7:06 am ] |
Post subject: | Re: Upgrading 8.1 to 8.2 |
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. |
Author: | tscholl [ Mon May 25, 2015 12:07 pm ] |
Post subject: | Re: Upgrading 8.1 to 8.2 |
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 ... |
Author: | brfransen [ Tue May 26, 2015 6:41 am ] |
Post subject: | Re: Upgrading 8.1 to 8.2 |
You are right. I forgot the db name wasn't changed. |
Author: | tscholl [ Mon Jun 01, 2015 10:18 am ] |
Post subject: | Re: Upgrading 8.1 to 8.2 |
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 |
Author: | brfransen [ Mon Jun 01, 2015 10:24 am ] |
Post subject: | Re: Upgrading 8.1 to 8.2 |
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 |
Author: | tscholl [ Mon Jun 01, 2015 2:37 pm ] |
Post subject: | Re: Upgrading 8.1 to 8.2 |
Britney, Thanks for all your help. The script ran as modified with no problems!!! ![]() ![]() 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. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |