个人工具
登录
查看“UbuntuHelp:PackageCDs”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:PackageCDs”的源代码
来自Ubuntu中文
←
UbuntuHelp:PackageCDs
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/PackageCDs}} {{Languages|UbuntuHelp:PackageCDs}} <<Include(Tag/ContentCleanup)>> <<Include(Tag/StyleCleanup)>> If you cannot use the DVD images for some reason or want to help a friend with low internet bandwidth, here is a simple way to make your own transportable package CD: 0. Before following up check (i.e. the Synaptic package manager) if the "dpkg-dev" package is installed on your system. 1. Download all needed packages you wanna backup or add to the package cd 2. Put them all in one directory (preferable inside your home folder) 3. Open a terminal window via Applications > Tools > Terminal 4. Use the "ls" and "cd" commands jumping to the regarding directory 5. Type "dpkg-scanpackages . /dev/null | gzip > Packages.gz" If the "dpkg-dev" package is missed you will get the system error "dpkg-scanpackages : command not found" Don't worry if you get this kind of errors: Example: ! Package firefox (filename ./firefox_1.5.dfsg+1.5.0.12-0ubuntu0.6.06.1_i386.deb) is repeat but newer version; used that one and ignored data from ./firefox_1.5.dfsg+1.5.0.11-0ubuntu0.6.06.1_i386.deb ! this just means that: "firefox_1.5.dfsg+1.5.0.11-0ubuntu0.6.06.1_i386.deb" package version will not be added to the package list. Instead of the newer: "firefox_1.5.dfsg+1.5.0.12-0ubuntu0.6.06.1_i386.deb" package version will be added to the package list. 6. Burn the directory on CD. You can later add the CD as a package source with "sudo apt-cdrom add" or via the Synaptic package manager. By default, the Synaptic package manager stores upgraded/downloaded packages at the "/var/cache/apt/archives/" location. If you wanna make a package cd of this files you should copy "/var/cache/apt/archives/" to another folder. After proceeding follow up with step 3 like mentioned above. It is not necessary to use the "sudo" command to run "dpkg-scanpackages . /dev/null | gzip > Packages.gz" for folders located inside your home folder! === See also === * [[UbuntuHelp:AptCdrom|AptCdrom]] ---- [[category:CategoryOffline]] [[category:CategoryPackageManagement]] [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:PackageCDs
。