Posts: 84
nujinini
Joined: 05 Jun 2010
#1
I tried to upgrade from 8.2 to 8.5 by following the instructions given here:


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"antix.freeforu ms.org/upgrade-script-from-8-2-t2467.html"
linktext was:"antix.freeforu ms.org/upgrade-scr ... t2467.html"
====================================


but was not succesful. I think its because my 8.2 system was actually not as healthy as it should have been to start with.

So I decided to download an ISO of 8.5, md5sum, intall and here I am again __{{emoticon}}__

I was able to make wireless run quite easily. My little experience in 8.2 gave me confidence in 8.5 and I must say that it's not really a difficult thing to make wireless work in anti-X. At least with my rig. __{{emoticon}}__

Where do I go from here please? __{{emoticon}}__

Thank you!
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#2
here I am again
Kewl. __{{emoticon}}__
Where do I go from here please?
Just enjoy and learn the operating system.

Go to Start Menu On Toolbar and check out The Help Section. Lots of good stuff there. A lot of work into setting that up thanks to guys like SilverBear and Old HogsHead.
Posts: 1,228
secipolla
Joined: 15 Jun 2008
#3
My recipe to have a stable and up-to-date system is:
- delete /etc/apt/apt.conf and delete the 'Debian' and 'Mepis' entries in /etc/apt/preferences, leaving only the 'linux-kbuild' entry.
If possible, connect wirelessly with Ceni, not Wicd. So if wicd gives trouble in the first update you can remove it and then reinstall it again afterwords.
- use 'apt-get update' and 'apt-get dist-upgrade' to update your system.
- if some packages are going to be removed, remove them and after the upgrade reinstall if it's a package that you use. This, I believe, happens maybe due to dependencies being changed so it doesn't mean your system is breaking, just follow what the dist-upgrade wants to do and then reinstall whatever you may really need.
- answer Y or I when offered to install the maintainer's version of a configuration file that's being updated. The only exception for that is for the package slim, the display manager, (take note of that if you want). antiX comes with a tweaked configuration file for slim so if you install the package maintainer's version you obviously won't break your system but the X session will behave differently.
- from time to time you may want to run 'apt-get autoclean'. This removes the downloaded packages in /var/cache/apt/archives which are not the latest versions.
- sometimes you may see a message while updating like 'packages x y z were installed as dependencies but are no longer required, run apt-get autoremove to remove them'. You can do as suggested, running 'apt-get autoremove' and then reinstalling whatever package that was removed and you know that you need (most probably the packages to be removed will always be unnecessary, you would only need to reinstall something if you had a full desktop environment like Gnome or KDE and the developers removed, say, the office package from the dependencies so it starts to show up in the autoremove option. But antix doesn't have a full desktop environment - DE - so it won't be the case).
Posts: 84
nujinini
Joined: 05 Jun 2010
#4
rok!

I like the OS. Its very fast and lightweight. Now I know what you meant when you say its"lean and mean".

I hope you guys can really stretch your patience with me since I really get to ask quite a lot of questions when I want to learn things. You know. How to get things done. __{{emoticon}}__

By the way, I used to have a bike when I was much younger. A toy compared to what you have. Its a Yamaha 125 Dirt and Trail.

__{{emoticon}}__
Posts: 84
nujinini
Joined: 05 Jun 2010
#5
- delete /etc/apt/apt.conf
Done
and delete the 'Debian' and 'Mepis' entries in /etc/apt/preferences, leaving only the 'linux-kbuild' entry.
Done
If possible, connect wirelessly with Ceni, not Wicd. So if wicd gives trouble in the first update you can remove it and then reinstall it again afterwords.
Done
- use 'apt-get update' and 'apt-get dist-upgrade' to update your system.
Done
- if some packages are going to be removed, remove them and after the upgrade reinstall if it's a package that you use. This, I believe, happens maybe due to dependencies being changed so it doesn't mean your system is breaking, just follow what the dist-upgrade wants to do and then reinstall whatever you may really need.
Ok
- answer Y or I when offered to install the maintainer's version of a configuration file that's being updated.
Ok
The only exception for that is for the package slim, the display manager, (take note of that if you want). antiX comes with a tweaked configuration file for slim so if you install the package maintainer's version you obviously won't break your system but the X session will behave differently.
NOTED
- from time to time you may want to run 'apt-get autoclean'. This removes the downloaded packages in /var/cache/apt/archives which are not the latest versions.
Ok
- sometimes you may see a message while updating like 'packages x y z were installed as dependencies but are no longer required, run apt-get autoremove to remove them'. You can do as suggested, running 'apt-get autoremove' and then reinstalling whatever package that was removed and you know that you need (most probably the packages to be removed will always be unnecessary, you would only need to reinstall something if you had a full desktop environment like Gnome or KDE and the developers removed, say, the office package from the dependencies so it starts to show up in the autoremove option. But antix doesn't have a full desktop environment - DE - so it won't be the case).
Thank you sir! __{{emoticon}}__
Posts: 1,228
secipolla
Joined: 15 Jun 2008
#6
You're welcome!
I also know of two, somewhat mutually exclusionary, options that can significantly enhance the update process.

1) the first is a package called debdelta. It's particularly useful if you have slow internet or if you pay for bandwidth used. It works by downloading the difference between a current package and its updated version and building the latter. This really saves time and bandwidth.
Last time I updated there were 36 MB to be downloaded, debdelta downloaded the differences and built the new packages. This resulted in a 'virtual speed' of 500 kB/s while my connection speed is 125 KB/s.
It only starts to work effectively in antiX after a few updates, the reason being in my guessing because many files are removed from the antiX ISO to keep it smaller, hindering debdelta's process of creation of the new versions.
With it, the update sequence is 'apt-get update', 'debdelta-upgrade' and 'apt-get dist-upgrade'.

2) the other tip is package localepurge. This application deletes the localization files other than the one(s) you choose to keep. This saves a lot of disc space and works automatically after the upgrade. But is mainly useful with small HD's like yours.
Pay attention when configuring it to choose to keep the main locale and any sub-variant of the locale you use. I use pt_BR locale so I have to choose pt, pt_BR and pt_BR.UTF8 for localepurge to keep (the equivalents for en_US could be en, en_US and en_US.UTF8).

debdelta can't build updated versions of packages that had files removed by localepurge, so works much less effectively. But if every penny counts, bandwidth wise, then it can be used alongside localepurge.
Last edited by secipolla on 09 Jun 2010, 18:22, edited 1 time in total.
Posts: 84
nujinini
Joined: 05 Jun 2010
#7
OK, I would like to try this please.

May I know where I should start?

Where can I find"package localepurge" please?
Posts: 84
nujinini
Joined: 05 Jun 2010
#8
I tried to start but got an error report:

Code: Select all

jun@(none):~$ sux
Password: 
root@(none):/home/jun# apt-get autoclean
Reading package lists... Done
Building dependency tree       
Reading state information... Done
root@(none):/home/jun# apt-get update
Get:1 http://ftp.us.debian.org testing Release.gpg [835B]                      
Ign http://ftp.us.debian.org testing/main Translation-en_US                    
Hit http://security.debian.org testing/updates Release.gpg                     
Ign http://security.debian.org testing/updates/main Translation-en_US          
Ign http://ftp.us.debian.org testing/contrib Translation-en_US                 
Ign http://ftp.us.debian.org testing/non-free Translation-en_US                
Get:2 http://ftp.us.debian.org testing Release [89.5kB]                        
Ign http://security.debian.org testing/updates/contrib Translation-en_US       
Ign http://security.debian.org testing/updates/non-free Translation-en_US      
Hit http://security.debian.org testing/updates Release                         
Ign http://security.debian.org testing/updates/main Packages/DiffIndex         
Ign http://security.debian.org testing/updates/contrib Packages/DiffIndex      
Ign http://security.debian.org testing/updates/non-free Packages/DiffIndex     
Hit http://apt.progchild.de stable Release.gpg                                 
Ign http://apt.progchild.de stable/main Translation-en_US                      
Err http://www.debian-multimedia.org testing Release.gpg                       
  Could not connect to http://www.debian-multimedia.org:80 (91.121.86.213). - connect (111: Connection refused)
Hit http://security.debian.org testing/updates/main Packages                   
Hit http://apt.progchild.de stable Release                                     
Err http://www.debian-multimedia.org testing/main Translation-en_US            
  Could not connect to http://www.debian-multimedia.org:80 (91.121.86.213). - connect (111: Connection refused)
Hit http://security.debian.org testing/updates/contrib Packages                
Err http://www.debian-multimedia.org testing/non-free Translation-en_US        
  Could not connect to http://www.debian-multimedia.org:80 (91.121.86.213). - connect (111: Connection refused)
Ign http://apt.progchild.de stable/main Packages/DiffIndex                     
Hit http://ftp.us.debian.org testing/main Packages/DiffIndex         
Hit http://security.debian.org testing/updates/non-free Packages
Ign http://apt.progchild.de stable/main Packages
Hit http://ftp.us.debian.org testing/contrib Packages/DiffIndex
Hit http://ftp.us.debian.org testing/non-free Packages/DiffIndex
Ign http://apt.progchild.de stable/main Packages
Hit http://apt.progchild.de stable/main Packages
Fetched 90.3kB in 5s (16.7kB/s)
Reading package lists... Done
W: Failed to fetch http://www.debian-multimedia.org/dists/testing/Release.gpg  Could not connect to http://www.debian-multimedia.org:80 (91.121.86.213). - connect (111: Connection refused)

W: Failed to fetch http://www.debian-multimedia.org/dists/testing/main/i18n/Translation-en_US.bz2  Could not connect to http://www.debian-multimedia.org:80 (91.121.86.213). - connect (111: Connection refused)

W: Failed to fetch http://www.debian-multimedia.org/dists/testing/non-free/i18n/Translation-en_US.bz2  Could not connect to http://www.debian-multimedia.org:80 (91.121.86.213). - connect (111: Connection refused)

W: Some index files failed to download, they have been ignored, or old ones used instead.
root@(none):/home/jun#
Should I proceed to the next step and ignore this?
Posts: 1,228
secipolla
Joined: 15 Jun 2008
#9
For localepurge, just 'apt-get install localepurge'. You will be able to configure if you run 'localepurge' (as root), I believe, or maybe the configuration will start when you install it.
Re. the error it may be a temporary problem with the debian-multimedia servers. Just try again (apt-get update), sometimes it just fails to synchronize.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#10
Here's my take.

1. Install what you (may) need from Debian-multimedia ie w32codecs, libmp3lame0, libdvdcss2 and then comment them out and only use the Debian repos. Many multimedia stuff is now in Debian 'proper' ie mplayer, ffmpeg and so removing the multimedia repos helps to avois possible conflicts.

2. If you want to use antiX as a rolling release, ie just keep upgrading, no need to install a newer version, I suggest installing the latest liquorix kernel. To do so, enable the repos in /etc/apt/sources.list, install the liquorix keys files (you can use synaptic for this) and then
# apt-get update
# apt-get install linux-image-2.6.34-xxx (whatever it is for the liquorix version, again synaptic will help) and its headers.

Alternatively, do this using the installed smxi script. see the FAQ.
Posts: 84
nujinini
Joined: 05 Jun 2010
#11
Done. I got some error reports again towards the end.

Code: Select all

jun@(none):~$ sux
Password: 
root@(none):/home/jun# apt-get install localpurge
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Couldn't find package localpurge
root@(none):/home/jun# apt-get install localepurge
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  lzma libcamel1.2-14 libx264-88 libparted1.8-12 libcelt0 libgirepository1.0-0
  libedataserver1.2-11 libebook1.2-9
Use 'apt-get autoremove' to remove them.
Suggested packages:
  debfoster bleachbit
The following NEW packages will be installed:
  localepurge
0 upgraded, 1 newly installed, 0 to remove and 38 not upgraded.
5 not fully installed or removed.
Need to get 42.8kB of archives.
After this operation, 168kB of additional disk space will be used.
Get:1 http://ftp.us.debian.org testing/main localepurge 0.6.2 [42.8kB]
Fetched 42.8kB in 2s (16.8kB/s)      
Preconfiguring packages ...
Selecting previously deselected package localepurge.
(Reading database ... 62979 files and directories currently installed.)
Unpacking localepurge (from .../localepurge_0.6.2_all.deb) ...
Processing triggers for man-db ...
Setting up transmission-daemon (1.93-2) ...
 * Starting bittorrent daemon transmission-daemon                        [ ok ] 
Setting up wicd-daemon (1.7.0+ds1-5) ...
adduser: The user `demo' does not exist.
dpkg: error processing wicd-daemon (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of wicd-gtk:
 wicd-gtk depends on wicd-daemon (= 1.7.0+ds1-5); however:
  Package wicd-daemon is not configured yet.
dpkg: error processing wicd-gtk (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wicd-curses:
 wicd-curses depends on wicd-daemon (= 1.7.0+ds1-5); however:
  Package wicd-daemon is not configured yet.
dpkg: error processing wicd-curses (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wicd:
 wicd depends on wicd-daemon (= 1.7.0+ds1-5); however:
  Package wicd-daemon is not configured yet.
 wicd depends on wicd-gtk (= 1.7.0+ds1-5) | wicd-curses (= 1.7.0+ds1-5) | wicd-cli (= 1.7.0+ds1-5) | wicd-client; however:
  Package wicd-gtk is not configured yet.
  Package wicd-curses is not configured yet.
  Package wicd-cli is not installed.
  Package wicd-client is not installed.
  Package wicd-gtk which provides wicd-client is not configured yet.
  Package wicd-curses which provides wicd-client is not configured yet.
dpkg: error processing wicd (--configure):
 dependency problems - leaving unconfigured
Setting up localepurge (0.6.2) ...
Errors were encountered while processing:
 wicd-daemon
 wicd-gtk
 wicd-curses
 wicd
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@(none):/home/jun#
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#12
Remove wicd.

Code: Select all

apt-get purge wicd*  (note the *)
apt-get -f install
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#13
Here's a little info form cookdav at mepislovers that may be of some use.


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://mepislovers.org/forums/showpost.php?p=233247&postcount=14"
linktext was:"http://mepislovers.org/forums/showpost. ... stcount=14"
====================================
Posts: 84
nujinini
Joined: 05 Jun 2010
#14
Install what you (may) need from Debian-multimedia ie w32codecs, libmp3lame0, libdvdcss2 and then comment them out and only use the Debian repos.
If I may confirm, should I:

apt-get install 32codecs libmp3lame0 libdvdcss2 __{{emoticon}}__

Then how do I comment them out please? add"#" to where? /etc/apt/sources/list?

For your information, I am still trying to study linux and am just over a year old in my self effort to learn.

Thank you in advance! __{{emoticon}}__
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#15
and a quick learner you are __{{emoticon}}__

Yes do the apt-get bit and then add # to /etc/apt/sources.list

Don't forget to do
apt-get update

first and after changing the sources.list.

Now might not be a good time though as the multimedia repos are timing out.