Author Topic: DVD new install 810 b2  (Read 2273 times)

Beeker

  • Guru
  • ****
  • Posts: 267
    • View Profile
DVD new install 810 b2
« on: January 23, 2010, 01:43:56 am »
Unfortunatley I trashed my current core so I am in the middle of renstalling via DVD, I have re read the wikis and forum posts and I am still confused as to which of these we should do and which ones we use to keep up to date........to many conflicting stories can someone please confirm
 
apt-get update
apt-get upgrade
apt get dist upgrade

thanks
Beeker

maverick0815

  • Addicted
  • *
  • Posts: 545
    • View Profile
Re: DVD new install 810 b2
« Reply #1 on: January 23, 2010, 12:08:06 pm »
only apt-get update and apt-get dist-upgrade
if you do apt-get upgrade you will upgrade to kubuntu 9.10

Beeker

  • Guru
  • ****
  • Posts: 267
    • View Profile
Re: DVD new install 810 b2
« Reply #2 on: January 23, 2010, 12:14:38 pm »
thanks much appreciated feedback.
 
I have just done fresh install and have only done apt-get update on the core/hybrid, so should I do apt-get dist-upgrade as well and the other question should I do both of those commands on my other md.

And lastly I do both of these commands on the core/hybrid and md's on a regular basis

phenigma

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1006
    • View Profile
Re: DVD new install 810 b2
« Reply #3 on: January 23, 2010, 03:26:52 pm »
only apt-get update and apt-get dist-upgrade
if you do apt-get upgrade you will upgrade to kubuntu 9.10

apt-get upgrade will NOT upgrade to 9.10.

apt-get update will update the list of packages from all repositories
apt-get upgrade will upgrade any existing installed packages.
apt-get dist-upgrade will upgrade any existing packages and install any new required packages.

Under normal circumstances you should perform apt-get update and apt-get upgrade.  Performing an apt-get dist-upgrade can *sometimes* install packages which will conflict with LMCE and cause things to break.  There are completely seperate commands used to upgrade to 9.10.

J.

Beeker

  • Guru
  • ****
  • Posts: 267
    • View Profile
Re: DVD new install 810 b2
« Reply #4 on: January 23, 2010, 09:18:13 pm »
Excellent advice..........can you confirm that I should do this on some sort of regular basis to the core/hybrid and if that is so , then do I need to the same thing to each of my  md's


phenigma

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1006
    • View Profile
Re: DVD new install 810 b2
« Reply #5 on: January 24, 2010, 04:00:27 pm »
LMCE updates are not relased on any schedule but usually every week or two there are some updated packages.  Usually if your system is working well there is no need to do an upgrade.  But there may be bugfixes or new features which affect your system (or your enjoyment of it) that you wish to take advantage of.

When you do a package upgrade you should do it on the core first and then on each or your media directors.  If you do not upgrade each of your MDs some functionality can break.  (MythTV is an example.)

So..  In most situations you want to do the following:

On your core:
apt-get update
apt-get upgrade

Then on each MD (after you've completed the core upgrade)
apt-get update
apt-get upgrade

Sometimes performing an 'apt-get dist-upgrade' is required to install new packages (like new kernels when they are available) but this is rare and you will know when it may affect you because 'apt-get upgrade' will tell you that 'The following packages have been held back'... or something similar.  This is telling you that there are packages that will not be changed with 'apt-get upgrade' and that performing an 'apt-get dist-upgrade' would likely install the new packages.  This can sometimes cause problems so be careful if you do.  Backups can be very handy.

Hope that helps clarify a little.

J.

pedplar

  • Veteran
  • ***
  • Posts: 89
    • View Profile
Re: DVD new install 810 b2
« Reply #6 on: January 25, 2010, 07:38:38 am »
On my core apt-get dist-upgrade broke myth by installing .23.  had to remove 23 and reinstall 22.  so be careful.

Beeker

  • Guru
  • ****
  • Posts: 267
    • View Profile
Re: DVD new install 810 b2
« Reply #7 on: January 25, 2010, 07:51:28 am »
fell for that one as well.......spent the whole day reinstalling then working out how to downgrade mythtv back to 0.22 once I did that all working again. Just have to learn how to fully use mythtv........it was Mavericks post that got things back on track.......... let me say I wont be doing a apt-get dist-upgrade in the near future after losing a day and having to go through all that pain again.

jimbodude

  • Guru
  • ****
  • Posts: 372
    • View Profile
Re: DVD new install 810 b2
« Reply #8 on: January 25, 2010, 04:24:56 pm »
As a side note - MythTV's perl stuff WILL go to .23 using "upgrade".  I'm not sure if LinuxMCE depends on it or not, but mixing versions generally leads to bad times.  For this reason, you should apply the fix in ticket 574 ( http://svn.linuxmce.org/trac.cgi/ticket/574 ) to the core and each MD BEFORE attempting any updates.

Use the "-V" option to see what version you are getting if you are still worried.  Here is the output without the preferences file:

Code: [Select]
j@dcerouter:/etc/apt$ sudo apt-get -V upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
   mythtv-common (0.22.0-fixes23229-0ubuntu0 => 0.23.0~trunk-23168-0ubuntu0)
   mythtv-database (0.22.0-fixes23229-0ubuntu0 => 0.23.0~trunk-23168-0ubuntu0)
The following packages will be upgraded:
   libmyth-perl (0.22.0-fixes23229-0ubuntu0 => 0.23.0~trunk-23168-0ubuntu0)
1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 0B/56.6kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]?

and with the preference file:
Code: [Select]
j@dcerouter:/etc/apt$ sudo apt-get -V upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

marrandy

  • Guru
  • ****
  • Posts: 162
    • View Profile
Re: DVD new install 810 b2
« Reply #9 on: January 25, 2010, 07:09:56 pm »
Unfortunatley I trashed my current core so I am in the middle of renstalling via DVD, I have re read the wikis and forum posts and I am still confused as to which of these we should do and which ones we use to keep up to date........to many conflicting stories can someone please confirm
 
apt-get update
apt-get upgrade
apt get dist upgrade

thanks
Beeker


Ref   http://wiki.linuxmce.org/index.php/Installing_0810

apt get dist upgrade  is only used if you install manually using the kubuntu 8.10 desktop release


If you use the DVD install, use

apt-get update
apt-get upgrade

It even says at the bottom of the DVD install directions...

"Note: You should NOT run apt-get dist-upgrade after the initial install, as it can cause several problems, including having different kernel versions on your core and media directors, and the installation of new Kubuntu packages that can break some features!"
« Last Edit: January 25, 2010, 09:15:10 pm by marrandy »

Beeker

  • Guru
  • ****
  • Posts: 267
    • View Profile
Re: DVD new install 810 b2
« Reply #10 on: January 25, 2010, 08:20:05 pm »
Thanks to everyone for your valuable advice.........

the anxious

  • Regular Poster
  • **
  • Posts: 31
    • View Profile
    • My portfolio
Re: DVD new install 810 b2
« Reply #11 on: April 15, 2010, 01:27:29 pm »
Can you explain me how I create this preference file? In my instalation I dont have it in apt folder. What I made was put text from ticket on file and save it "preference", but when I do the apt-get -V upgrade I have the same message without the preference file.
thanks


As a side note - MythTV's perl stuff WILL go to .23 using "upgrade".  I'm not sure if LinuxMCE depends on it or not, but mixing versions generally leads to bad times.  For this reason, you should apply the fix in ticket 574 ( http://svn.linuxmce.org/trac.cgi/ticket/574 ) to the core and each MD BEFORE attempting any updates.

Use the "-V" option to see what version you are getting if you are still worried.  Here is the output without the preferences file:

Code: [Select]
j@dcerouter:/etc/apt$ sudo apt-get -V upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
   mythtv-common (0.22.0-fixes23229-0ubuntu0 => 0.23.0~trunk-23168-0ubuntu0)
   mythtv-database (0.22.0-fixes23229-0ubuntu0 => 0.23.0~trunk-23168-0ubuntu0)
The following packages will be upgraded:
   libmyth-perl (0.22.0-fixes23229-0ubuntu0 => 0.23.0~trunk-23168-0ubuntu0)
1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 0B/56.6kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]?

and with the preference file:
Code: [Select]
j@dcerouter:/etc/apt$ sudo apt-get -V upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Asus M2N-E-SLI, 2GB Kingston, HD 500GB Seagate, Hauppage PVR-500, Geforce 7300GS, Fiire Chief, Nokia N800, Samsung LN32A330J1 32", HA22, Intermatic Switches, USB UIRT, Xantech 286 double emitter,

phenigma

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1006
    • View Profile
Re: DVD new install 810 b2
« Reply #12 on: April 15, 2010, 05:21:44 pm »
Can you explain me how I create this preference file? In my instalation I dont have it in apt folder. What I made was put text from ticket on file and save it "preference", but when I do the apt-get -V upgrade I have the same message without the preference file.
thanks

In a terminal window paste the following:

Code: [Select]
sudo echo "Package: mythtv mythtv-frontend mythtv-backend mythtv-common mythtv-database mythtv-transcode-utils mythweb libmyth-perl
Pin: version 2:0.22*
Pin-Priority: 1001
">>/etc/apt/preferences

enter your user password when prompted.  HTH

J.

the anxious

  • Regular Poster
  • **
  • Posts: 31
    • View Profile
    • My portfolio
Re: DVD new install 810 b2
« Reply #13 on: April 15, 2010, 05:24:14 pm »
Thank you phenigma.
Asus M2N-E-SLI, 2GB Kingston, HD 500GB Seagate, Hauppage PVR-500, Geforce 7300GS, Fiire Chief, Nokia N800, Samsung LN32A330J1 32", HA22, Intermatic Switches, USB UIRT, Xantech 286 double emitter,

phenigma

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1006
    • View Profile
Re: DVD new install 810 b2
« Reply #14 on: April 15, 2010, 06:31:51 pm »
Your welcome.  Another thought:  Check the apt repository file /etc/apt/sources.list and see if it includes a reference to the avenard "testing" repository.  From a terminal window you can type:
Code: [Select]
cat /etc/apt/sources.list
You should see a line that looks like this:
Code: [Select]
deb http://www.avenard.org/files/ubuntu-repos intrepid release
Make sure the word "testing" is not in the line anywhere.

J.