Package: dput-ng
Version: 1.38~bpo12+1
Severity: important

Used to work fine, today started to fail:

    ❯ dput neurosmaug git-annex_10.20240227-1~ndall+1_source.changes
    Uploading git-annex using scp to neurosmaug (host: neurosmaug; directory: 
/home/neurodebian/deb/builds/ndbuild)
    running allowed-distribution: check whether a local profile permits uploads 
to the target distribution
    running checksum: verify checksums before uploading
    running suite-mismatch: check the target distribution for common errors
    running gpg: check GnuPG signatures before the upload
    Not checking GPG signature due to allow_unsigned_uploads being set.
    Traceback (most recent call last):
      File "/usr/bin/dput", line 129, in <module>
        upload_package(changes, args)
      File "/usr/lib/python3/dist-packages/dput/uploader.py", line 323, in 
invoke_dput
        with uploader(profile['method'], profile,
      File "/usr/lib/python3.11/contextlib.py", line 137, in __enter__
        return next(self.gen)
               ^^^^^^^^^^^^^^
      File "/usr/lib/python3/dist-packages/dput/uploader.py", line 170, in 
uploader
        obj.initialize()
      File "/usr/lib/python3/dist-packages/dput/uploaders/scp.py", line 56, in 
initialize
        login = find_username(self._config)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    TypeError: find_username() missing 1 required positional argument: 
'ssh_conf'


downgrade to

    Version: 1.38~bpo12+1

resolved the issue.

Trickery might be due to "fqdn = neurosmaug" where "neurosmaug" is
defined within ~/.ssh/config like

        Host neurosmaug
          User neurodebian
          ForwardAgent no
          HostName some.sensored.example.com
          Port 2222


Cheers,


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (300, 'experimental'), (100, 
'stable-updates'), (100, 'stable-security'), (100, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.6.15-amd64 (SMP w/20 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dput-ng depends on:
ii  python3       3.11.6-1
ii  python3-dput  1.38~bpo12+1

dput-ng recommends no packages.

Versions of packages dput-ng suggests:
pn  dput-ng-doc      <none>
pn  python3-twitter  <none>
ii  rsync            3.2.7-1+b1

-- debconf-show failed

Reply via email to