Reply
 
Thread Tools Display Modes
  #1  
Old 04-09-2013, 08:45 PM
sysfu sysfu is offline
Senior Member
 
Join Date: Feb 2011
Posts: 318
Thanks: 22
Thanked 34 Times in 27 Posts
Default Rocky 2nd attempt at upgrade to rolling release
First off, I'm not yet sure if my upgrade was 100% successful or not. This is my 2nd attempt at upgrading to a rolling release on a fresh system.

First I edited /usr/local/share/pcbsd/pc-updatemanager/conf/sysupdate.conf

and changed the line: PATCHSET: pcbsd to PATCHSET: pcbsdtest as per the blog post.

Then I tried upgrading through the Update Manager GUI...failure!

Then tried through the command line:

Code:
[seth@pcbsd-3101] ~% sudo pc-updatemanager check
Using mirror: ftp://mirrors.isc.org/pub/pcbsd
/tmp/.sysupdatexgX7Lu/sysupdate-9.1.tgz       100% of 3683  B  530 kBps


The following updates are available:
------------------------------------
NAME: Update to 9.1 Rolling Release
TYPE: PATCH
DATE: 02-19-2013
TAG: pkgngup-20130212
SIZE: 1
STANDALONE: NO
REQUIRESREBOOT: NO
DETAILS: http://trac.pcbsd.org/wiki/patch-20130212-pkgngup
 
To install this update run "/usr/local/bin/pc-updatemanager install pkgngup-20130212"
That popped up another terminal window where the process failed again, see attached screenshot.

Then I tried again from the command line

Code:
[seth@pcbsd-3101] ~% sudo pkg upgrade
Updating repository catalogue
Repository catalogue is up-to-date, no need to fetch fresh copy
New version of pkg detected; it needs to be installed first.
After this upgrade it is recommended that you do a full upgrade using: 'pkg upgrade'

The following packages will be upgraded:

        Upgrading pkg: 1.0.7 -> 1.0.9_2

1 MB to be downloaded

Proceed with upgrading packages [y/N]: y
pkg-1.0.9_2.txz                                                                                                                 100% 1466KB 488.6KB/s 475.7KB/s   00:03    
Checking integrity... done
Upgrading pkg from 1.0.7 to 1.0.9_2... done
That appeared to work, however I do not see any new updates available in the GUI Upgrade Manager aside from a "Testing Patch" from 2011

Here's the same patch from the terminal

Code:
seth@pcbsd-3101] ~% pc-updatemanager check
Using mirror: ftp://mirrors.isc.org/pub/pcbsd
/tmp/.sysupdateFwjVcA/sysupdate-9.1.tgz       100% of 3683  B  723 kBps


The following updates are available:
------------------------------------
NAME: Testing Patch
TYPE: PATCH
DATE: 07-07-2011
TAG: testupdate
SIZE: 10
STANDALONE: NO
REQUIRESREBOOT: NO
DETAILS: http://www.pcbsd.org/content/view/75/30/
 
To install this update run "/usr/local/bin/pc-updatemanager install testupdate"
Manually running pkg upgrade also fails.

Code:
seth@pcbsd-3101] ~% sudo pkg upgrade
Updating repository catalogue
pkg: http://getmirror.pcbsd.org/packages/9.1-RELEASE/amd64/repo.txz: Not Found
Attached Images:

Last edited by sysfu; 04-09-2013 at 08:52 PM.
Reply With Quote
  #2  
Old 04-11-2013, 03:02 PM
rvc rvc is offline
Senior Member
 
Join Date: Jul 2012
Location: India
Posts: 593
Thanks: 25
Thanked 48 Times in 45 Posts
Default
you did follow the right thing from the blog but i too was halted where you were...
now read the same blog post and scroll down to the exchange of dialogues between me and dru...

i noticed that i had to run the pkg2ng command to make the transition.
then i went for the upgrade.... depending on the packages you have installed and the mirrors speed, it will be a long time till you make a transition.
just scroll down and read the blog comments and you will get to where you need to reach... the rolling release ...
__________________
r v c.
Associated with : VEDGOO.COM
My Home Page , BSD Walls 1920X1080
Reply With Quote
  #3  
Old 04-12-2013, 12:33 AM
sysfu sysfu is offline
Senior Member
 
Join Date: Feb 2011
Posts: 318
Thanks: 22
Thanked 34 Times in 27 Posts
Default
I ran the command sudo pkg2ng as suggested in the blog comments. It finished with the following error

Installing zip-3.0... done
Installing zsh-5.0.0... done
Moved old package database to /var/db/pkg.bak.

!!! Some packages failed to register !!!
Please fix them by upgrading them or removing them
or rerun "PERMISSIVE=yes pkg2ng" if you *really* must
Failed packages: linux-f10-libGLU-7.2

So I can sudo PERMISSIVE=yes pkg2ng and that finished with this message

zsh-5.0.0 is already registered.
Moved old package database to /var/db/pkg.bak.
Conversion has been successfully finished
Your old packages database has been moved to: /var/db/pkg.bak.

sudo pc-updatemanager check yields:

Using mirror: ftp://mirrors.isc.org/pub/pcbsd
/tmp/.sysupdateqzsDSW/sysupdate-9.1.tgz 100% of 3683 B 601 kBps

Your system is up to date!

The about control panel still shows the version as 9.1-RELEASE.

Ran sudo pkg update and that gets:

Updating repository catalogue
pkg: http://getmirror.pcbsd.org/packages/...md64/repo.txz: Not Found

So I updated /usr/local/etc/pkg.conf as per this wiki page

Then ran sudo pkg upgrade -fy

That yielded:

Updating repository catalogue
repo.txz 100% 14MB 434.6KB/s 246.0KB/s 00:32
The following packages will be upgraded:

Reinstalling pkg-1.0.9_2
Upgrading pkgconf: 0.8.9 -> 0.9.1_2
Upgrading libiconv: 1.14 -> 1.14_1
Reinstalling xproto-7.0.22
<snip>
Reinstalling zip-3.0
Upgrading zsh: 5.0.0 -> 5.0.2
Reinstalling linux-f10-libGLU-7.2

The installation will require 213 MB more space

1 GB to be downloaded
pkgconf-0.9.1_2.txz 100% 23KB 23.4KB/s 23.4KB/s 00:00
libiconv-1.14_1.txz 100% 589KB 588.6KB/s 578.6KB/s 00:01
xproto-7.0.22.txz 100% 59KB 59.2KB/s 59.2KB/s 00:01
gettext-0.18.1.1_1.txz 100%
<snip>

Looks like the update to the rolling release is finally working, we'll see after the 1GB of downloads finish.

update:

Most of the updates appear to have downloaded but the command ended with lots of messages like this

pkg: WARNING: xscreensaver-5.21 conflict on /usr/local/share/xscreensaver/glade/screensaver-snap.png with:
- xscreensaver-gnome-5.12_1

pkg: WARNING: xscreensaver-5.21 conflict on /usr/local/share/xscreensaver/glade/xscreensaver-demo.glade2 with:
- xscreensaver-gnome-5.12_1

pkg: WARNING: linux-f10-libGLU-7.2 conflict on /compat/linux/usr/lib/libGLU.so.1 with:
- linux-f10-dri-7.2_1

pkg: WARNING: linux-f10-libGLU-7.2 conflict on /compat/linux/usr/lib/libGLU.so.1.3.070300 with:
- linux-f10-dri-7.2_1

Re-running to see if what happens on a second try.

Last edited by sysfu; 04-12-2013 at 03:30 AM.
Reply With Quote
  #4  
Old 04-12-2013, 02:05 AM
sysfu sysfu is offline
Senior Member
 
Join Date: Feb 2011
Posts: 318
Thanks: 22
Thanked 34 Times in 27 Posts
Default
Rebooted and ran sudo pkg upgrade.

Got a list of several dozen packages that needed to be upgraded. This command also failed with pages and pages of file conflicts.

Not sure where to go from here.

Last edited by sysfu; 04-12-2013 at 03:30 AM.
Reply With Quote
  #5  
Old 04-12-2013, 02:52 AM
rvc rvc is offline
Senior Member
 
Join Date: Jul 2012
Location: India
Posts: 593
Thanks: 25
Thanked 48 Times in 45 Posts
Default
you are on the right track champ
use pkg remove command to remove the conflicting package linux-f10* and do this for all the conflicting packages...
i too had the same issue and a few other packages which i manually removed, re-ran the upgrade and the upgrade re-installs from the latest repo without hitch...

i played around this for some 3 days before i finally got to my new desktop...

the uname -a still displayes stable and not the rolling part... but no issues coz we are already on the rolling release...

after this, it is not advisable to use the system package manager from the control panel gui as it will display all the packages with "unchecked" check boxes meaning no packages are installed... can ignore this issue...

only glitch i found was "THIS ISSUE" which was also resolved....

we can add and remove packages from the CLI itself usig the pkg command...

hope you set things right...

P.S : in my case i did this atleast 5 times and with the loads of desktops i was having i think i must ve downloaded more than 2 GB... but with patience, i reached where i wanted... the rolling release
__________________
r v c.
Associated with : VEDGOO.COM
My Home Page , BSD Walls 1920X1080

Last edited by rvc; 04-12-2013 at 02:55 AM.
Reply With Quote
  #6  
Old 04-12-2013, 03:11 AM
sysfu sysfu is offline
Senior Member
 
Join Date: Feb 2011
Posts: 318
Thanks: 22
Thanked 34 Times in 27 Posts
Default
Thanks for the help, I ran sudo pkg remove kdeartwork xscreensaver
to kill the problem packages, then re-ran sudo pkg upgrade and it completed updating all the system packages. Now I'll reboot and check out KDE and other apps.
Reply With Quote
  #7  
Old 04-12-2013, 08:27 AM
rvc rvc is offline
Senior Member
 
Join Date: Jul 2012
Location: India
Posts: 593
Thanks: 25
Thanked 48 Times in 45 Posts
Default
great...
the upgrade must have taken in the package you removed along with the linux part that was creating initial problems...
nice you could seamlessly upgrade... have a great time..
pcbsd rocks
__________________
r v c.
Associated with : VEDGOO.COM
My Home Page , BSD Walls 1920X1080
Reply With Quote
  #8  
Old 04-12-2013, 09:10 AM
sysfu sysfu is offline
Senior Member
 
Join Date: Feb 2011
Posts: 318
Thanks: 22
Thanked 34 Times in 27 Posts
Default
The upgrade left one computer in an unusable state, X will not start and it will not run in Vesa mode. It also will not run the display settings wizard when the option is selected from the boot menu. Even the TTY terminal video is screwed up, shows double vision. Think it might have something to do with kernel mode support.

I ran the some rolling release upgrade steps on another computer with very similar hardware, and it was successful.

Both computers have integrated Intel video chipsets.
Reply With Quote
  #9  
Old 04-12-2013, 12:10 PM
rvc rvc is offline
Senior Member
 
Join Date: Jul 2012
Location: India
Posts: 593
Thanks: 25
Thanked 48 Times in 45 Posts
Default
i faced the exact problem when i accidentally removed packages using the system package manager gui from control panel.. with similar problems i faced, i kept hitting enter till i was presented with a console log in. you can either log in as root or use your user id and issue sudo pkg upgrade -fy command...

you can recover X by booting into the console log in and running pkg upgrade -fy which will recover X and set things back to normal...

i go that extra mile to experiment a lot and luckily this pkg upgrade -fy utility recovers everything....
kudos to the team
__________________
r v c.
Associated with : VEDGOO.COM
My Home Page , BSD Walls 1920X1080
Reply With Quote
  #10  
Old 04-12-2013, 05:13 PM
sysfu sysfu is offline
Senior Member
 
Join Date: Feb 2011
Posts: 318
Thanks: 22
Thanked 34 Times in 27 Posts
Default
I can't even get a usable console login, that's part of the problem. First gdm tries to start about 5-6 times, then it gives up leaving me a black screen. I can try switching virtual term via CTRL-ALT-F1/2/3 etc, but that doesn't work.

If I cycle through the laptop display outputs, (built-in, ext svga, both) I can then see the TTYs, only it's almost impossible to read messed up font that shows the console in double vision, one on the left one on the right. I believe this has something to do with KMS (kernel mode support).

Is there any way I can disable KMS on boot so I can recover my system? I searched the interwebz and mailing lists and came up empty handed.
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump


All times are GMT. The time now is 06:14 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.