| View previous topic :: View next topic |
| Author |
Message |
Doctore Xandrosianschwing
Joined: 13 Jun 2006 Posts: 2697 Location: Finland
|
Posted: Sun Apr 15, 2007 1:07 pm Post subject: XANDROS + DEBIAN ETCH = TRUE (UPDATED) ! |
|
|
What ? Is my XOS4.1 system almost trashed ? Now again ?
Need formatting (as usual), so want to play with the repositories of
Xandros Server V2 before reinstalling... "Xandros Supported Site" is at:
http://xnv4.xandros.com/xs2.0/pkg/pool/ and Unsupported (Etch) site
is located at: http://xnv4.xandros.com/xs2.0/upkg-srv2/pool/
Figured out that /etc/apt/sources.list for "Xandros Supported Site" is:
deb http://xnv4.xandros.com/xs2.0/pkg/ xs2.0-xn main contrib non-free
But what is the line for the "Debian (Etch) Unsupported?
Doctore _________________ Linux User #432929
Visit our sites :
http://www.pcds.fi/
http://www.djn.fi/
Last edited by Doctore on Tue Jan 24, 2012 3:43 pm; edited 3 times in total |
|
| Back to top |
|
 |
aldube Xandrosianschwing
Joined: 02 Jan 2005 Posts: 2332 Location: Calgary, Alberta, Canada
|
Posted: Thu Jun 07, 2007 7:23 pm Post subject: |
|
|
You're mixing the Xandros 4.1 Desktop & Xandros 2.0 Server repositories?
If Xandros is using ETCH for it's 2.0 Server, then there's definately a problem, because Xandros 4.1 Desktop is only using Sarge repositories. _________________ Linux simply works for me...
Registered Linux User 384461 |
|
| Back to top |
|
 |
Doctore Xandrosianschwing
Joined: 13 Jun 2006 Posts: 2697 Location: Finland
|
Posted: Fri Jun 08, 2007 2:40 am Post subject: |
|
|
Sarge, Etch (not Lenny yet). It works depending on whats
installed. Have to be careful with dependies, of course. Right
now its an Xandros 4.1/Debian Sarge/Backports mix. Will
soon reorganize my workhorse so if there is enough time
the experimenting continues...
Doctore |
|
| Back to top |
|
 |
aldube Xandrosianschwing
Joined: 02 Jan 2005 Posts: 2332 Location: Calgary, Alberta, Canada
|
Posted: Thu Jun 14, 2007 2:45 pm Post subject: |
|
|
Nice; where's there's a big difference in dependencies, I sometimes go the chroot/dchroot route, as adding a compatibility layer tends to produce a more stable OS enviornment.
The weather has been so nice lately, that I can't justify staying indoors experimenting on Xandros; I guess I'll have todo that on a rainy day.  _________________ Linux simply works for me...
Registered Linux User 384461 |
|
| Back to top |
|
 |
aldube Xandrosianschwing
Joined: 02 Jan 2005 Posts: 2332 Location: Calgary, Alberta, Canada
|
Posted: Sat Jul 07, 2007 3:54 pm Post subject: |
|
|
I wonder what would happen if the Xandros 4.1 repositories were replaced with Xandros Sever 2.0, then a apt-get dist-upgrade was done?
Would the resulting Xandros OS be useable, or would you have a hosed Xandros system...
Running a Xandros based Etch does have some appeal... _________________ Linux simply works for me...
Registered Linux User 384461 |
|
| Back to top |
|
 |
redrum Xandros Community Moderator

Joined: 05 Apr 2004 Posts: 2766 Location: Rapid City, South Dakota
|
Posted: Sat Jul 07, 2007 5:16 pm Post subject: |
|
|
That would largely depend on whether all the packages were available, which means you would have to make your own repository containing everything available for Server 2 and everything available on the CD's.. In theory, if all upgradeable packages plus the required dependencies were available, there should be no reason why one couldn't use server 2 packages, but if some package requires a specific package that isn't available, it would likely spell disaster.
Trying that without the CD's would defiately hose the system. _________________
Beware of the man who would deny you access to information,
for in his heart he dreams himself your master. |
|
| Back to top |
|
 |
bryantrv Xandrosianschwing
Joined: 24 Mar 2005 Posts: 2898 Location: DeLand, Florida US
|
|
| Back to top |
|
 |
aldube Xandrosianschwing
Joined: 02 Jan 2005 Posts: 2332 Location: Calgary, Alberta, Canada
|
Posted: Sat Jul 07, 2007 6:05 pm Post subject: |
|
|
This website might be a little helpful:
http://wiki.debian.org/Sarge2EtchUpgrade
This seems to be the preferred method og upgrading as opposed to apt-get dist-upgrade:
# aptitude -f --with-recommends dist-upgrade _________________ Linux simply works for me...
Registered Linux User 384461 |
|
| Back to top |
|
 |
Doctore Xandrosianschwing
Joined: 13 Jun 2006 Posts: 2697 Location: Finland
|
Posted: Mon Jul 09, 2007 3:46 am Post subject: |
|
|
Made several tests 6-7/7 updating an minimal install of 4.1OCE on an P4/SIS system.
Used "Synaptic" and "apt-get dist-upgrade". Did also "apt-get -f install" with both.
Hoosed the system 2-3 times. Got it to work, but lost the network connection. Will
repeat the tests an another system. Used "Xandros4/Server2 Distribution Site" and
"Server2 (Etch) Unsupported Site" repositories.
Doctore _________________ Linux User #432929
Visit our sites :
http://www.pcds.fi/
http://www.djn.fi/
Last edited by Doctore on Tue Jan 24, 2012 3:42 pm; edited 1 time in total |
|
| Back to top |
|
 |
aldube Xandrosianschwing
Joined: 02 Jan 2005 Posts: 2332 Location: Calgary, Alberta, Canada
|
Posted: Mon Jul 09, 2007 9:37 am Post subject: |
|
|
apt-get is not recommended for that kind of upgrade, as aptitude handles the dependencies better...
I'm trying a different approach which seems to be giving better results...
I've been rebuilding the Desktop enviornment with xs2.0-xn packages through the use of debootstrap & chroot. There's some mods that need to be done to debootstrap that are required before we begin:
# su
Give root password
# apt-get install nano
# nano /etc/apt/sources.list
Add the following line to the Xandros 4 sources and comment all others with a #
| Code: | | deb http://xnv4.xandros.com/xs2.0/pkg xs2.0-xn main contrib non-free |
# apt-get update
# apt-get install debootstrap
Then undo the changes to /etc/apt/sources.list
# apt-get update
# nano /usr/sbin/debootstrap
And change the DEF_MIRROR="http://www.debian.org/debian" into
| Code: | | DEF_MIRROR="http://xnv4.xandros.com/xs2.0/pkg" |
# cp /usr/lib/debootstrap/scripts/sid /usr/lib/debootstrap/scripts/xs2.0-xn
Create a working directory; I'll use work in my example:
# mkdir work
# cd work
# debootstrap --arch i386 xs2.0-xn xs2.0
Install will fail at one point, then extract the following packages XFM-Root into the work/xs2.0
work/xs2.0/var/cache/apt/archives/dpkg (copy only what's inside the CONTENTS folder)
work/xs2.0/var/cache/apt/archives/apt-get (copy only what's inside the CONTENTS folder)
# nano /xn2.0/etc/apt/sources.list
Edit the xs2.0 source.list file:
| Code: | | deb http://xnv4.xandros.com/xs2.0/pkg xs2.0-xn main contrib non-free |
# chroot xs2.0
# apt-get update
# apt-get install sysv-rc
# exit
# debootstrap --arch i386 xs2.0-xn xs2.0
# chroot xs2.0
# aptitude -f install
# apt-get clean
# exit
# tar -cpvjf xs2.0-core-i386.tar.bz2 xs2.0
And now you have a core Debian commandline system built from Xandros Server 2.0.
If you want to keep the downloaded DEBs, then simply cut paste all the DEBs from work/xs2.0/var/cache/apt/archives into work/xs2.0-DEBs
I suppose if you compare the packages installed via a minimal Xandros 4 install with dpkg -l, you can then later aptitude -f install package1 package2 package3 etc to create a parallel Desktop enviornment inside chroot xs2.0; keeping in mind GRUB has replaced LILO as the default bootloader (if you plan to later untarball the new TAR archive onto a actual independent hard drive partition or virtual machine partition, thus requiring a manual setup of fstab, initrd, & GRUB).
Now you know why I'd prefer to let Xandros do the work and create a Installation CD.
I figured this would make a good HOW-TO for System Administrators using Xandros Server 2.0 and for some reason also need a separate minimal Debian enviornment based Xandros Server 2.0-Sid
chroot HOW-TO:
http://forums.xandros.com/viewtopic.php?t=25028
could be combined with the info posted in this particular post... _________________ Linux simply works for me...
Registered Linux User 384461 |
|
| Back to top |
|
 |
Doctore Xandrosianschwing
Joined: 13 Jun 2006 Posts: 2697 Location: Finland
|
|
| Back to top |
|
 |
Slowmotion Xplorer
Joined: 03 Apr 2008 Posts: 9
|
Posted: Sun Apr 06, 2008 11:12 pm Post subject: |
|
|
so... the file won't save... in a texteditor
so... is go into "the cave of files" and find xterm in usr/bin and open it with a right-click, run as admin....
then i use the caveman commands cd .. and cd etc/apt to get to the sources.list file and I open it with vi or ed by writing ex. vi sources.list .... but these things are not really user friendly
So there I sit with the lines from this forum in one window and some bullshit terminal in the next window unable to copy.....
...I wonder....after reading about the good things of functions in the terminal if you could not incorporate theese functions in a more user friendly environment.... Just a thought....
help
....oh yes... |
|
| Back to top |
|
 |
jimallyn Site Admin

Joined: 31 Jan 2003 Posts: 8195 Location: Wenatchee, Washington, USA
|
Posted: Sun Apr 06, 2008 11:23 pm Post subject: |
|
|
| Slowmotion wrote: | | so... the file won't save... in a texteditor |
If you're talking about saving the /etc/apt/sources.list file after adding the above lines from Doctore, you have to do that as admin/root. I don't know if you're using Xandros 4.5 on a desktop PC or using the EeePC, but here's how I would do it in Xandros 4:
Click Launch, Applications, System, Administrator Tools, Xandros File Manager (Administrator). Enter the admin/root password when it asks for it. In the File Manager navigate to the /etc/apt/sources.list file, and double click it to open it in a text editor. Add the lines the Doctore has posted above, then save the file.
The reason you were unable to save the file is that the file belongs to "root" and normal users can't write to it.
Jim _________________ I refuse to live in a country like this - and I'm not leaving. - Michael Moore |
|
| Back to top |
|
 |
bryantrv Xandrosianschwing
Joined: 24 Mar 2005 Posts: 2898 Location: DeLand, Florida US
|
|
| Back to top |
|
 |
aldube Xandrosianschwing
Joined: 02 Jan 2005 Posts: 2332 Location: Calgary, Alberta, Canada
|
Posted: Fri Apr 18, 2008 1:20 pm Post subject: |
|
|
Doctore gave me an idea to try adding:
deb file:/var/autofs/cdrom.1/cdrom.1/ xandros4.0 main contrib non-free
as a potential source, and install Xandros 4.2 Premium features via XN expert mode...
Although some Premium/Professional features will be broken like Xandros Security Suite (I never really considered this a major feature anyways...), other features like:
crossover-standard
xandros-libxandrosencrypt
xandros-file-protector
can be installed, I have yet to figure out all the Xandros 4.0/4.2 features that could be installed using this method, thus making Xandros 4.5 OCE a true upgrade for users who bought Xandros 4 Premium & Professional versions...  _________________ Linux simply works for me...
Registered Linux User 384461 |
|
| Back to top |
|
 |
|