New answers tagged

0

Easiest way for me to install mplayer on RHEL 7 was to put the fedora and rpmfusion for Fedora repositories in my repository directory /etc/yum.repos.d/. I just copied them from another machine, which had Fedora 21 installed and changed the $releasever variable to 20. Create the repository files The following commands will create the repository files for ...


0

Why aren't you switching to non-interactive session? # TMOUT=0 -bash: TMOUT: readonly variable # unset TMOUT -bash: unset: TMOUT: cannot unset: readonly variable # su # export TMOUT=10 # unset TMOUT #


1

Pinning all packages in unstable is easy. Just add Package: * Pin: release a=unstable Pin-Priority: 50 or similar to /etc/apt/preferences. This will hold back all packages in unstable from upgrade by apt or aptitude. Note that there is nothing magic about 50. From man apt_preferences: 0 < P < 100 causes a version to be installed ...


0

A more efficient version of @Patrice's solution, using a shell with support for process substitution (bash, AT&T ksh, zsh): ( export LC_ALL=C comm -23 <(find / -xdev -type f | sort) \ <(sort -u /var/lib/dpkg/info/*.list) ) Like Patrice's solution, it assumes no file path contains newline characters.


0

I just ran into this issue when using cp -R . /var/ftp/pub/osdirectory and instead used (in mounted iso/DVD): find . | cpio -pmd /var/ftp/pub/osdirectory to copy the files over correctly



Top 50 recent answers are included