chemicalfan wrote:The subject of this thread isn't quite accurate, but it's hard to summarise in 6 words! Basically, I want to know whether it is possible to use/specify a different repo when using apt-get install, rather than having to edit sources.list, then apt-get update, then the install, then edit the sources back again. What I'm after, is "sudo-like" functionality, in that it the "elevation" only lasts for the one command. For example - say I want the latest Iceweasel (I know LMDE uses Firefox, but hear me out). Now, in wheezy's repos, it's version 10.0.7, in sid it's 10.0.7, yet in experimental, it's 15.0. Obviously I don't want experimental there all the time, and if I forgot to update the sources.list after the install (could happen, maybe in a hurry to try out the new software), the next apt-get upgrade would hose my system.
If this isn't a feature of apt-get (doesn't seem to be anything like it on the man page), then maybe this could be addressed by a Bash script? I don't mind having a crack at writing one, but I've never really done one (have poked around in some Arch ABS files though, and I'm not afraid of the terminal!)
Users browsing this forum: No registered users and 2 guests