View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 4 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Jul 23, 2009 8:55 am 
Offline
Joined: Fri Sep 15, 2006 12:16 pm
Posts: 292
Some point after the KM 5.5 release (the next Debian release actually) the /etc/apt/sources.list got out of date due to stable and unstable being different release versions after that. After that an apt-get install <pkg> tries to update all sorts of things and you would seriously bork your system if you let it run.

On my R5.5 system I was able to install gpac by changing all stables and unstables in sources.list to point to etch. I suspect that the unstables should be etch and the stables should be sarge though?

(I obviously run apt-get with the -s option to see what is about to happen before any real install.)

My question is whether anyone with more knowledge than me knows exactly what an R5.5 sources.list should look like at this point in time.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 24, 2009 5:33 pm 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
Hi,

Stable should be 'etch' (which is old stable, new stable is lenny). What you believe 'unstable' is is actually 'testing', which is the next upcoming stable version. Unstable is continuously changing, and there is no 'old' version of unstable, which is unfortunate for your (and my) situation.

So i would suggest changing stable to be etch, and either leave unstable as unstable, or change it to lenny (current stable) or squeeze (testing). And be extra mindful of the changes it is proposing.

Most packages should come from etch, it's only the bleeding edge stuff that came from unstable (as of R5.5 release date).

Hope this helps. If you want more reading about the release cycle of debian then do a search at wikipedia.

BigB.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 27, 2009 10:12 am 
Offline
Joined: Fri Sep 15, 2006 12:16 pm
Posts: 292
I had changed unstable to lenny and stable to etch because that seemed to be the state of things as of the release of R5.5.

This seems to match well as "apt-get update" works and "apt-get -s install libavcodec51 libavutil49" seems to be doing reasonable things like get rid of libavcodeccvs51.

It's funny that apt-get -s upgrade does NOT bring in a new libavcodec51 though. It gets held back. That may be because there is no libavcodeccvs51 package on the internet.

I will back up my root and try an upgrade (including upgrading all the 'cvs' packages to non-cvs versions) with lenny and etch and post back in a week or so.


Last edited by cliffsjunk on Tue Jul 28, 2009 3:23 pm, edited 1 time in total.


Top
 Profile  
 
PostPosted: Tue Jul 28, 2009 2:52 pm 
Offline
Joined: Fri Sep 15, 2006 12:16 pm
Posts: 292
After doing the above with /etc/apt/sources.list and unstable->lenny and stable->etch I backed up my root partition and did an
Code:
apt-get update
apt-get upgrade
and after downloading 270meg of updates and sorting thru many solvable dependency problems, I am up and running without errors!

Do not attempt this if without a root backup!!! I recommend clonezilla for that (of course dd or dd_rescue from anything (where the root is not mounted) to a file on /myth works fine too, use what you like). I switched back and forth a couple times to let Girlfriend's TV shows record under the old version. OK, you could just use a database backup from Home -> Knoppmyth menu if your system doesn't need any tweaks after installation. Clonezilla (boot CD) can backup or restore that root partition across the network in 5-10 minutes which is a lot quicker than a new install, even without the post install tweaks.

Do not attempt this without at least 700meg free on your root partition (270meg downloads x 2.2 by the time it is installed). Do not attempt this if you are not REALLY comfortable with a text mode command prompt. Do not attempt this if you don't know what "apt dependencies" are. Do you know why a library with cvs in the name may mean that it is a temporary version?

I took the defaults (generally that means that it left the current settings unmodified) for all the installation prompts (a LOT of them).

I am running a Hauppauge PVR-350 capture card and the only problem was that the boot scripts came up in color, but it changed over to black and white before going to X (TV set is output). As soon as I started a record (not just playback) though it went back to color. By carefully watching the bootup I determined that "motion" (as in mythtv motion) was the culprit. I went into /etc/init.d and told it to use the new motion startup script (apt-get leaves the old one unmodified and makes a new one called *.dpkg-dist). I rebooted and all is good.

Record (SVideo) and playback are in color. Sound works. VNCServer works. Samba server works. DVD playback with subtitles and sound works. This upgrade did not fix these, I already had them set up and working in the stock R5.5. Initial testing feels like the lirc serial "double button press problem" may be fixed by this, but I am not sure.

I should note that I was already running a compiled version of ffmpeg due to stock R5.5 ffmpeg problems, and it kept the compiled version as more current than the repository version.

I should also note (from memory) that:
libavformatcvs51 was replaced by libavformat52
libavformatcvs51-dev was replaced by libavformat-dev
libavutil49cvs was replaced by libavutil49
libavutil49cvs-dev was replaced by libavutil-dev
On a few of these and others, I had to manually tell it e.g. to remove libavformatcvs51-dev before it would install libavformat-dev because the repo did not have a libavformatcvs51-dev? (I had to manually apt-get install libavformat-dev and libavutil-dev after manually removing the cvs versions to get things to come out right.)

I never used a fix or ignore option in apt-get, so it is clean!

I am sorry that I could not get a perfect set of steps to follow. I started to, but I had some problems with some apps I had installed (had to remove them to reduce confusion) and libavformatcvs51-dev to libavformat-dev puttering left the list too long and uncertain to post.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu