Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File name too long. #814

Closed
tomvlk opened this issue Mar 4, 2019 · 6 comments
Closed

File name too long. #814

tomvlk opened this issue Mar 4, 2019 · 6 comments

Comments

@tomvlk
Copy link

tomvlk commented Mar 4, 2019

Downloading http://ppa.launchpad.net/ondrej/php/ubuntu/pool/main/p/php5.6/libapache2-mod-php5.6_5.6.40-1+ubuntu18.04.1+deb.sury.org+2+will+reach+end+of+life+in+april+2019_ppc64el.deb...
Downloading http://ppa.launchpad.net/ondrej/php/ubuntu/pool/main/p/php7.0/libapache2-mod-php7.0_7.0.33-2+ubuntu18.04.1+deb.sury.org+2+will+reach+end+of+life+in+april+2019_ppc64el.deb...
ERROR: unable to update: download errors:
  http://ppa.launchpad.net/ondrej/php/ubuntu/pool/main/p/php5.6/libapache2-mod-php5.6_5.6.40-1+ubuntu18.04.1+deb.sury.org+2+will+reach+end+of+life+in+april+2019_ppc64el.deb: open /home/tom/.aptly/pool/78/ec/2654-8c3a-4739-abb9-7fadea8b2c1blibapache2-mod-php5.6_5.6.40-1+ubuntu18.04.1+deb.sury.org+2+will+reach+end+of+life+in+april+2019_ppc64el.deb.down: file name too long
  http://ppa.launchpad.net/ondrej/php/ubuntu/pool/main/p/php7.0/libapache2-mod-php7.0_7.0.33-2+ubuntu18.04.1+deb.sury.org+2+will+reach+end+of+life+in+april+2019_ppc64el.deb: open /home/tom/.aptly/pool/c9/d6/8114-bb3e-4311-a4fb-8dd21de73c30libapache2-mod-php7.0_7.0.33-2+ubuntu18.04.1+deb.sury.org+2+will+reach+end+of+life+in+april+2019_ppc64el.deb.down: file name too long

Trying to mirror the PPA: http://ppa.launchpad.net/ondrej/php

@smira
Copy link
Contributor

smira commented Mar 5, 2019

That's the problem with underlying filesystem. What fs are you using? aptly only adds hash, everything else is just package file name length.

@tomvlk
Copy link
Author

tomvlk commented Mar 5, 2019 via email

@smira
Copy link
Contributor

smira commented Mar 5, 2019

Looks strange, as:

>>> len("8114-bb3e-4311-a4fb-8dd21de73c30libapache2-mod-php7.0_7.0.33-2+ubuntu18.04.1+deb.sury.org+2+will+reach+end+of+life+in+april+2019_ppc64el.deb.down")
145

And ext4 should have a limit of 255 characters

@smira
Copy link
Contributor

smira commented Mar 5, 2019

Doesn't look like it's ext4, as I just mirrored this PPA without issues on ext4:

$ aptly mirror create php ppa:ondrej/php
$ aptly mirror update php
...

Mirror `php` has been successfully updated.

@tomvlk
Copy link
Author

tomvlk commented Mar 11, 2019

I'm pretty sure I have ex4. The only thing is that I have an encrypted disk which might change some limits? (Using luks)

@tomvlk
Copy link
Author

tomvlk commented Mar 11, 2019

Update: I just tried again, and it seems that the packages got updated (and the long name has been removed). This fixed it for me right now, but it's still weird why this happened in the first place.

@smira smira closed this as completed Jul 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants