Overblog Tous les blogs Top blogs Célébrités Tous les blogs Célébrités
Editer l'article Suivre ce blog Administration + Créer mon blog
MENU
http://letp.over-blog.com/

letp.over-blog.com/

Publicité

Update Ubuntu From Cd



This article will describe installing deb packages which are in DVD. This will help to recovery when the network packages are removed by mistake.

Table of Contents

  • 3. Create DVD which has custom deb packages

Download Ubuntu desktop, Ubuntu Server, Ubuntu for Raspberry Pi and IoT devices, Ubuntu Core and all the Ubuntu flavours. Ubuntu is an open-source software platform that runs everywhere from the PC to the server and the cloud.

$ sudo apt install -y apt-rdepends $ mkdir deb $ cd deb $./download-deb-package.sh ubuntu-desktop $ cd. 3.2 Create GPG key When creating GPG key, the following message will be. Download Ubuntu desktop, Ubuntu Server, Ubuntu for Raspberry Pi and IoT devices, Ubuntu Core and all the Ubuntu flavours. Ubuntu is an open-source software platform that runs everywhere from the PC to the server and the cloud.

1 Add cdrom to repository list with apt-cdrom

Mount cdrom to /media/cdrom.

Add cdrom to repository list with apt-cdrom.

The apt-cdrom changes /etc/apt/sources.list. For removing cdrom from repository list, remove 'deb cdrom:' statement in /etc/apt/sources.list.

2 Few packages in ubuntu-16.04-desktop-amd64.iso

Player

ubuntu-16.04-desktop-amd64.iso has only 24 packages. ubuntu-16.04-desktop-amd64.iso is LiveDVD. For installing, copy root filesystem of LiveDVD to storage and install 24 packages to storage.

Ubuntu Update Download

ubuntu-16.04-server-amd64.iso has 1244 packages. But it has no desktop environment packages.

3 Create DVD which has custom deb packages

This article will create DVD which has desktop environment packages. And this will add DVD to repository list.

3.1 Download deb packages

Download deb packages of ubuntu-desktop and dependencies with this script.

3.2 Create GPG key

When creating GPG key, the following message will be output and console will be hung.

For avoid this hung, update /dev/urandom with rng-tools.

Create gpg config file.

Create GPG key with gpg batch mode, and import GPG key.

3.3 Create repository
Update Ubuntu From Cd Changer

Install reprepro which creates repository with apt.

Get subkey value for GPG key of repository.

Create iso directory and store reprepro config file to there.

Create repository with reprepro.

Update Ubuntu From Cd

Copy GPG public key to iso directory.

3.4 Create DVD

Create iso image with genisoimage. Please burn iso image to DVD media.

3.5 Add cdrom to repository list
Ubuntu Live Cd

Insert DVD media and mount cdrom to /media/cdrom.

Add GPG key with apt-key.

Add cdrom to repository list with apt-cdrom. 2019 home and student. Because the database has no entry of this DVD, input repository name 'Ubuntu 16.04 repo'.

Now you can install deb packages from DVD.





Publicité
Partager cet article
Repost0
Pour être informé des derniers articles, inscrivez vous :
Commenter cet article