Showing posts with label apt. Show all posts
Showing posts with label apt. Show all posts

Tuesday, March 3, 2026

Transfer package list from one linux system to new install

 

Open the terminal on your old machine and enter this command. It creates a list of all packages you manually installed.

apt-mark showmanual > packages.txt

Transfer the packages.txt file to the PC with the new installation. Open a terminal in the that navigate to the folder where you kept the packages.txt file. Then run this command.

sudo xargs apt install -y

--30--

Thursday, March 28, 2024

Repositories for Raspbian (Debian Stretch) no longer supported



This is a note on the Raspbian release, but probably will need a similar action for any other ones so expired support
/etc/apt/sources.list
comment out "raspbian" entry and add "legacy" one.
-- old
deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
-- should be
deb http://legacy.raspbian.org/raspbian/ stretch main contrib non-free rpi

need to do apt-update

--30--

Sunday, March 28, 2021

rdesktop rdp client

 

for some reason the remmina rdp isn't working with linux clients (Raspbian version, latest as of March 2021).

There's a command line invoked utility, rdesktop that works well.

rdesktop -u <user id> <ip or dns name>

the -f will launch at the full screen of the local client screen.  <ctl><alt><enter> exits full screen so you can exit rdesktop.  Works fine with windows and linux systems rdp servers.

sudo apt install -y rdesktop
sudo dnf install rdesktop  <centos 8 and RHEL 8>
sudo yum install rdesktop <fedora, other RHEL>

https://www.tecmint.com/rdesktop-connect-windows-desktop-from-linux/

--30--


Thursday, February 18, 2021

show repositories on Ubuntu (and others)

 
 
debian
grep ^[^#] /etc/apt/sources.list /etc/apt/sources.list.d/*
 
 
Fix GPG signatures
sudo apt-key list  | grep "expired: " | sed -ne 's|pub .*/\([^ ]*\) .*|\1|gp' | xargs -n1 sudo apt-key adv --keyserver keys.gnupg.net --recv-keys
 
 
general apt structure is in:
/etc/apt
 
--30--