Ubuntu Debian Version Matrix

cat /etc/debian_version

mint 19.1 = Debian buster/sid

 

Ubuntu            Debian  
20.04  focal      bullseye/ sid
19.10  eoan       buster  / sid   - 10
19.04  disco      buster  / sid
18.10  cosmic     buster  / sid
18.04  bionic     buster  / sid
17.10  artful     stretch / sid   - 9
17.04  zesty      stretch / sid
16.10  yakkety    stretch / sid
16.04  xenial     stretch / sid
15.10  wily       jessie  / sid   - 8
15.04  vivid      jessie  / sid
14.10  utopic     jessie  / sid
14.04  trusty     jessie  / sid
13.10  saucy      wheezy  / sid   - 7
13.04  raring     wheezy  / sid
12.10  quantal    wheezy  / sid
12.04  precise    wheezy  / sid
11.10  oneiric    wheezy  / sid
11.04  natty      squeeze / sid   - 6
10.10  maverick   squeeze / sid
10.04  lucid      squeeze / sid

 

Linux: Resetting External Drive Permisions to Root for access issues ( ie: USB HDD )

USB devices will need to be treated as if ONLY the root user will access.. BECAUSE....

... if non-root user owns the files... NO ONE ELSE CAN ADMIN them

here's a bash script to both reclaim ownership, then reset permisions to 777

this script accepts 1 argument, or it will process



function pausing {
    read -p "Press ENTER to CONTINUE, CTRL-C to ABORT" paused
    line
}
function line {
    echo "---------------------------------------------------"
}
line
echo "update usb hdd file/folder permissions recursively"
echo "target: $1"
line
ls -la "$1"

echo "running chown -R root:root"
line
sudo chown -R root:root "$1"
echo "done.."

echo "running chmod -R 777"
line
sudo chmod -R 777 "$1"
echo "done.."

echo "done, listing target...."
ls -la "$1"
pausing

 

Tags

Linux: Apt Proxy Add/Remove

Source:https://stackoverflow.com/questions/38591415/ubuntu-16-04-apt-get-not-working-through-proxy

check /etc/apt/apt.conf

add/ remove Aquire::<protocol> as needed

  • /etc/apt/apt.conf
  • Acquire::http::proxy "http://[username]:[password]@[webproxy]:[port]/";
  • Acquire::https::proxy "https://[username]:[password]@[webproxy]:[port]/";
  • Acquire::ftp::proxy "ftp://[username]:[password]@[webproxy]:[port]/";
  • Acquire::socks::proxy "socks://[username]:[password]@[webproxy]:[port]/";

In Ubuntu 14.04, in order to use some commands in terminal (like apt-get) trough the company proxy, I need to do the following changes, beyond System Settings > Network > Network proxy > "Apply system wide" (shame on you, Ubuntu)

Tags

Linux: apt upgrade results in gconf2 errors

Update after initial Mint 19.1 install resulting in gconf2 errors

Update repo info

sudo apt update

Upgrade packages

sudo apt upgrade

then get gconf2 errors

So Configure dpkg....

sudo dpkg --configure -a
sudo apt upgrade
sudo apt-get install -f

Enable SSH if needed

sudo apt-get install openssh-server
sudo systemctl is-enabled ssh
sudo systemctl is-active ssh

or in one line

sudo apt-get install openssh-server && sudo systemctl is-enabled ssh && sudo systemctl is-active ssh


Clean up repos

sudo apt upgrade

sudo apt-get clean

 

 

Subscribe to