




You should have a python file named apt in /usr/local/bin. It's just a wrapper for apt-get, aptitude, apt-cache, and dpkg.dcihon wrote:Also apt-cache policy did work.
I saw someone else use apt policy. Maybe they were just saying to use that as an example not the actual command.





That's exactly what aptitude safe-upgrade does.TheGreatSudoku wrote:essentially do a dist-upgrade ... omitting packages whose upgrade would cause the removal of other packages I have installed on the system?



AFAIK it ships with Mint. You can just download the file I linked and add execute permission (chmod +x).dcihon wrote:Mock,
I don't have an /usr/local/bin/apt folder.
I have /usr/local/bin but no apt folder.
Thanks
Dan



TheGreatSudoku wrote:If there a way either via command line or GUI where I can essentially do a dist-upgrade, omitting packages that are flagged by apt-listbugs as well as omitting packages whose upgrade would cause the removal of other packages I have installed on the system?
apt-get upgrade
mockturtl wrote:That's exactly what aptitude safe-upgrade does.TheGreatSudoku wrote:essentially do a dist-upgrade ... omitting packages whose upgrade would cause the removal of other packages I have installed on the system?![]()
apt-listbugs won't notify you when bugs are resolved, so you wouldn't want it automatically holding packages. If you don't mind a 10 day delay, you get that extra layer of stability with the testing repos.









I didn't write that script, but I don't know what package it came from. AFAIK it's not vanilla debian, but "minty." I haven't spent any time distro-hopping, but I think system calls in python are a sort of a Clem signature.GregE wrote:I think there is some confusion about the apt command. This is why Dan is getting advice that just does not work.
My understanding is that "apt" is not a normal command in a Debian system. The apt package that is installed is a wrapper that supplies apt-get etc, but not apt itself as a stand alone executable.
Most of you have an executable apt command because you use git to compile Cinnamon. "apt build" just links to dpkg-packagebuild etc. So to get apt as a stand alone executable you have to manually create it using the link supplied and indeed written by Mock.
$ which apt
/usr/local/bin/apt





mockturtl wrote:I didn't write that script, but I don't know what package it came from. AFAIK it's not vanilla debian, but "minty." I haven't spent any time distro-hopping, but I think system calls in python are a sort of a Clem signature.GregE wrote:I think there is some confusion about the apt command. This is why Dan is getting advice that just does not work.
My understanding is that "apt" is not a normal command in a Debian system. The apt package that is installed is a wrapper that supplies apt-get etc, but not apt itself as a stand alone executable.
Most of you have an executable apt command because you use git to compile Cinnamon. "apt build" just links to dpkg-packagebuild etc. So to get apt as a stand alone executable you have to manually create it using the link supplied and indeed written by Mock.![]()
maya RC, liveDVD:
- Code: Select all
$ which apt
/usr/local/bin/apt



zerozero wrote:Dan,
this might be completely unrelated with all the issues you are having, but i can't help noticing that since long your outputs are as root all the time (even to perform tasks that in no way need root permissions, or at most could/should be used with sudo)
- apt policy [packagename] works as normal user, apparently it doesn't as rot;
- inxi -[whatever parameter] doesn't need root permissions, in fact the data is sometimes truncated used that way;
- in a more general note, playing Master-Of-The-Universe has a price and i don't know but you seem to have recurrent issues with the installs.








Users browsing this forum: No registered users and 1 guest