Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts

Tuesday, September 28, 2021

Ubuntu : Debian : update vs upgrade vs list –upgradable

https://linuxsecurity.com/features/how-to-install-security-updates-in-ubuntu-debian


The commands we shall cover pertaining to this topic are: 

  • apt update: This command only fetches the information on latest packages that can be upgraded. Note that it does not actually upgrade any packages on the system, only refreshes the index local to the system. This package information is obtained from standard official sources and then stored locally on the system. If ever you need to check from which sources the package information gets picked, you will see it in under /etc/apt/sources.list on the system.
  • apt list –upgradable: This command will then display the packages that have updates available and therefore can be upgraded on the system. This information is based on the information fetched previously from the update command
  • apt upgrade: This is the actual command that does the upgrade of the packages in the system. Once executed, the OS will be successfully upgraded. Note that this command can install new packages if the dependencies require it, but it will never remove packages.
  • apt full-upgrade: This command does a little more than what the upgrade command does. In addition to upgrading new packages and installing new packages as required, it also removes existing installed packages if it determines that the dependencies are no longer required. Use this option with caution as it can cause unexpected system behavior if your application is dependent on a specific version of the package.
  • apt autoremove: This command is used to remove unused packages which are no longer needed by the dependent packages. This can be executed after apt upgrade

Friday, July 9, 2021

Docker Desktop + WSL2 + Ubuntu + WSL +docker

 docker run -it --rm --privileged --pid=host justincormack/nsenter1

\\wsl2$ - Special Shared Path on Windows - which hides complex Path of Windows 
Docker Desktop + Ubuntu(WSL2) --- linked
Docker commands run from both
but Images go in Docker Desktop only -  \\wsl$\docker-desktop-data\version-pack-data\community\docker
Volume should be uploaded from Ubuntu/WSL2
Volume upload from Windows wont work
You can upload Folders from Windows to \\wsl$ shared path -specfically here  - \\wsl$\Ubuntu-20.04\home\karankaw
and it will show up as ~ in WSL2/Ubuntu

Sunday, April 11, 2021

Install Ubuntu 17 on Virtualbox - With Full Desktop Screem

Newer Ubuntu versions gave me some issues - Got Stuck for 2-3 Hours

Solution : 

  • Don't Select "Download Updates" and "3rd Party Software" When U Click on Install Ubuntu


Download VirtualBox
https://www.virtualbox.org/wiki/Downloads


Download Ubuntu


How to Make Ubuntu Full Desktop
https://superuser.com/questions/751831/virtualbox-ubuntu-full-screen-mode-resolution/754029#754029
https://developerslogblog.wordpress.com/2019/02/12/how-to-run-virtualbox-in-full-screen-mode-in-linux/

Azure - Pipeline - Add Approver for Stage

https://learn.microsoft.com/en-us/azure/devops/pipelines/process/approvals?view=azure-devops&tabs=check-pass