dhaivat / apt-gcs Goto Github PK
View Code? Open in Web Editor NEWApt transport for Google Cloud Storage
License: MIT License
Apt transport for Google Cloud Storage
License: MIT License
See https://github.com/ceocoder/apt-gcs/pull/4 for further elaboration on the issue and a proposed resolution.
It'd be nice if there was an actual release with usable binaries. With #11 merged, that can now be done by just pushing a tag.
Pushing v0.1.0
here now should result in a release with artifacts like at: https://github.com/retailnext/apt-gcs/releases/tag/v0.1.0
Hi,
I'm creating a debian mirror using apt-mirror in GCS and certain packages produce unusual filenames which cause errors:
root@pietesting:~# apt-get install git-man
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
liberror-perl patch rsync
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
git-man
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 1,267 kB of archives.
After this operation, 1,330 kB of additional disk space will be used.
Get:1 gs://GOOGLE_BUCKET/ jessie/main git-man all 1:2.1.4-2.1+deb8u2 [1,267 kB]
E: Could not open file /var/cache/apt/archives/partial/git-man_1%!a(MISSING)2.1.4-2.1+deb8u2_all.deb - open (2: No such file or directory)
E: Unable to determine file size for fd -1 - fstat (9: Bad file descriptor)
E: Read error - read (9: Bad file descriptor)
E: Internal error, could not locate member control.tar.{gzbz2xzlzma}
E: Prior errors apply to /var/cache/apt/archives/partial/git-man_1%!a(MISSING)2.1.4-2.1+deb8u2_all.deb
debconf: apt-extracttemplates failed: No such file or directory
dpkg: error processing archive /var/cache/apt/archives/partial/git-man_1%!a(MISSING)2.1.4-2.1+deb8u2_all.deb (--unpack):
cannot access archive: No such file or directory
Errors were encountered while processing:
/var/cache/apt/archives/partial/git-man_1%!a(MISSING)2.1.4-2.1+deb8u2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I think this is down to the use of a colon :
in the package name.
Making the bucket public and using https works as expected.
Thanks
Pie
14:18:47 $ env GOOS=linux GOARCH=amd64 go build -o gs .
# github.com/ceocoder/apt-gcs
../../../goworkspace/src/github.com/ceocoder/apt-gcs/init.go:93:22: undefined: google.CredentialsFromJSON
I did a go get
on all imports listed in init.go
but same error, any ideas?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.