Skip to content

Instantly share code, notes, and snippets.

@smira
Created November 24, 2014 15:58
Show Gist options
  • Select an option

  • Save smira/e60e8ca6babc5b631617 to your computer and use it in GitHub Desktop.

Select an option

Save smira/e60e8ca6babc5b631617 to your computer and use it in GitHub Desktop.
aptly importing package
smira@Andreys-MacBook-Pro-2 ~ $ wget http://yac1912x.gbks.net/misc/xul-ext-unmht_7.3.0.1-0ubuntu1_all.deb
--2014-11-24 18:56:42-- http://yac1912x.gbks.net/misc/xul-ext-unmht_7.3.0.1-0ubuntu1_all.deb
Resolving yac1912x.gbks.net... 81.169.231.253
Connecting to yac1912x.gbks.net|81.169.231.253|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 284386 (278K) [application/x-debian-package]
Saving to: ‘xul-ext-unmht_7.3.0.1-0ubuntu1_all.deb’
100%[================================================================================================================================================================>] 284,386 978KB/s in 0.3s
2014-11-24 18:56:43 (978 KB/s) - ‘xul-ext-unmht_7.3.0.1-0ubuntu1_all.deb’ saved [284386/284386]
smira@Andreys-MacBook-Pro-2 ~ $ aptly repo create test1
Local repo [test1] successfully added.
You can run 'aptly repo add test1 ...' to add packages to repository.
smira@Andreys-MacBook-Pro-2 ~ $ aptly repo add test1 xul-ext-unmht_7.3.0.1-0ubuntu1_all.deb
Loading packages...
[+] xul-ext-unmht_7.3.0.1-0ubuntu1_all added
smira@Andreys-MacBook-Pro-2 ~ $ aptly repo show test1
Name: test1
Comment:
Default Distribution:
Default Component: main
Number of packages: 1
smira@Andreys-MacBook-Pro-2 ~ $ aptly repo show --with-packages test1
Name: test1
Comment:
Default Distribution:
Default Component: main
Number of packages: 1
Packages:
xul-ext-unmht_7.3.0.1-0ubuntu1_all
smira@Andreys-MacBook-Pro-2 ~ $ aptly package show xul-ext-unmht_7.3.0.1-0ubuntu1_all
Package: xul-ext-unmht
Version: 7.3.0.1-0ubuntu1
Installed-Size: 1882
Priority: optional
Section: web
Maintainer: [email protected]
Architecture: all
Description: save webpage as one file
unmht is able to put every detail of a webpage
into one file. this is more comfortable for an user
MD5sum: 081e016be27800c8384c8d7864fdd270
SHA1: c3ac4bb11a1cd0f33ca2a93bf5abb6e75255e4dd
SHA256: bae85bd5dab768edff60fe559412cc6b6b89c33cb214ec0d46cbfe90b7c47e04
Source: unmht
Homepage: http://yac1912x.gbks.net/
Size: 284386
Filename: xul-ext-unmht_7.3.0.1-0ubuntu1_all.deb
smira@Andreys-MacBook-Pro-2 ~ $ aptly package search xul-ext-unmht
xul-ext-unmht_7.3.0.1-0ubuntu1_all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment