AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-402610

Vrajaraja Govinda Das's questions

Martin Hope
vrgovinda
Asked: 2024-09-07 01:45:41 +0800 CST

apt/synaptic 无法在 Devuan Daedalus 上访问互联网,其他工具运行正常

  • 8

我在 Devuan Daedalus 上通过 WiFi 路由器使用互联网。

我可以通过浏览器访问互联网,在终端中使用 定期下载yt-dlp并使用 安装/升级。但是当我使用或安装/更新/升级软件包时,它不起作用。pipxaptsynaptic

看起来很奇怪,但是为什么无法 apt访问synaptic互联网?

有人能帮忙吗?还需要其他信息吗?

~$ ping www.duckduckgo.com
PING duckduckgo.com (20.204.244.192) 56(84) bytes of data.
64 bytes from 20.204.244.192 (20.204.244.192): icmp_seq=1 ttl=115 time=159 ms
64 bytes from 20.204.244.192 (20.204.244.192): icmp_seq=2 ttl=115 time=41.2 ms
64 bytes from 20.204.244.192 (20.204.244.192): icmp_seq=3 ttl=115 time=49.6 ms
64 bytes from 20.204.244.192 (20.204.244.192): icmp_seq=4 ttl=115 time=40.6 ms
64 bytes from 20.204.244.192 (20.204.244.192): icmp_seq=5 ttl=115 time=44.9 ms
64 bytes from 20.204.244.192 (20.204.244.192): icmp_seq=6 ttl=115 time=41.5 ms
^C
--- duckduckgo.com ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5007ms
rtt min/avg/max/mdev = 40.573/62.843/159.275/43.234 ms

1 这是我的sources.list

###############
# local repos #
###############
deb [trusted=yes] file:///home/vrgovinda/offline-backup/daedalus-deb-files/ ./
deb [trusted=yes] file:///media/devuan-dvd-1/ daedalus main non-free contrib non-free-firmware

##################
# standard repos #
##################
deb http://deb.devuan.org/merged daedalus main contrib non-free non-free-firmware
deb http://deb.devuan.org/merged daedalus-updates main contrib non-free non-free-firmware
deb http://deb.devuan.org/merged daedalus-security main contrib non-free non-free-firmware

2 结果nslookup

~$ nslookup deb.devuan.org
Server:     192.168.0.1
Address:    192.168.0.1#53

Non-authoritative answer:
deb.devuan.org  canonical name = deb.rr.devuan.org.
Name:   deb.rr.devuan.org
Address: 195.85.215.180
Name:   deb.rr.devuan.org
Address: 125.228.189.120
Name:   deb.rr.devuan.org
Address: 46.4.50.2
Name:   deb.rr.devuan.org
Address: 106.178.112.231
Name:   deb.rr.devuan.org
Address: 131.188.12.211
Name:   deb.rr.devuan.org
Address: 147.78.194.22
Name:   deb.rr.devuan.org
Address: 130.225.254.116
Name:   deb.rr.devuan.org
Address: 95.216.15.86
Name:   deb.rr.devuan.org
Address: 202.61.197.17
Name:   deb.rr.devuan.org
Address: 5.161.180.234
Name:   deb.rr.devuan.org
Address: 103.146.168.12
Name:   deb.rr.devuan.org
Address: 67.219.104.166
Name:   deb.rr.devuan.org
Address: 198.58.118.8
Name:   deb.rr.devuan.org
Address: 160.16.137.156
Name:   deb.rr.devuan.org
Address: 185.183.113.131
Name:   deb.rr.devuan.org
Address: 200.236.31.1
Name:   deb.rr.devuan.org
Address: 94.16.114.15
Name:   deb.rr.devuan.org
Address: 141.84.43.19
Name:   deb.rr.devuan.org
Address: 185.178.192.43
Name:   deb.rr.devuan.org
Address: 185.236.240.103
Name:   deb.rr.devuan.org
Address: 190.64.49.124
;; Truncated, retrying in TCP mode.
;; ERROR: ID mismatch: expected ID 48572, got 6849

~$ 

3 不,没有代理。

4 错误消息

W: Failed to fetch http://deb.devuan.org/merged/dists/daedalus/InRelease  Temporary failure resolving 'deb.devuan.org'
W: Failed to fetch http://deb.devuan.org/merged/dists/daedalus-updates/InRelease  Temporary failure resolving 'deb.devuan.org'
W: Failed to fetch http://deb.devuan.org/merged/dists/daedalus-security/InRelease  Temporary failure resolving 'deb.devuan.org'

5 其他细节

$ grep hosts: /etc/nsswitch.conf 
hosts:          files mdns4_minimal [NOTFOUND=return] dns

$ getent hosts deb.devuan.org
<The cursor just blinks continuously.And returns back to the prompt after a minute>

~$ apt-config dump  | grep -i proxy
~$ 
apt
  • 2 个回答
  • 142 Views
Martin Hope
vrgovinda
Asked: 2023-08-24 08:44:39 +0800 CST

Bookworm 升级后,用 pip 安装的模块不起作用

  • 5

我最近从 Bullseye 升级到 Debian Bookworm。

我知道与pip install <package>. 因此,我安装了新的 python 包,pipx它运行良好。

问题:已经安装的软件包pip不能像以前那样工作。例如,在升级到 Bookworm 之前,我已经安装pdfCropMargins并pip广泛使用了它。

升级后,我收到以下错误:

pdf-crop-margins -a 5 pgfmanual.pdf 
Traceback (most recent call last):
  File "/home/vrgovinda/.local/bin/pdf-crop-margins", line 5, in <module>
    from pdfCropMargins.pdfCropMargins import main
ModuleNotFoundError: No module named 'pdfCropMargins'

根据我的理解,我猜pipx现在正在管理 python 包,并且期望模块位于其他位置。

我对吗?如果是,如何解决这个问题?

如果否,此错误的原因是什么以及如何解决此问题?

提前致谢。

debian
  • 1 个回答
  • 79 Views
Martin Hope
Vrajaraja Govinda Das
Asked: 2023-05-15 19:19:22 +0800 CST

由于“可能是相同版本的 libwine:amd64”,无法在 Devuan 中安装 `wine`

  • 5

我在 Devuan Chimaera。在当前的机器之前,我已经将它安装在两台机器上。所以我之前在Devuan上也装过WINE。

奇怪的是,我收到了这个警告:

sudo apt install wine wine64 wine32-preloader winbind winetricks --no-install-recommends
blah...blah...

W: Sources disagree on hashes for supposely identical version '5.0.3-3' of 'libwine:amd64'.

如果我继续,它会给我一个错误:

You have broken packages

这里出了什么问题?

debian
  • 1 个回答
  • 9 Views
Martin Hope
Vrajaraja Govinda Das
Asked: 2021-11-16 22:13:02 +0800 CST

apt - 跳过获取“i386”包

  • 1

我在 Debian Bullseye XFCE 上。请在下面找到我的系统的相关详细信息:

vrgovinda@krishna:~$ uname -a
Linux krishna 5.10.0-8-amd64 #1 SMP Debian 5.10.46-5 (2021-09-23) x86_64 GNU/Linux

我sources.list的以下几行将 Debian ISO 的 DVD-1 作为本地存储库。

deb [trusted=yes] file:///media/debian-dvd-1/ bullseye non-free contrib main  

我需要在终端中运行以下命令:

mount ~/firmware-11.0.0-amd64-DVD-1.iso /media/debian-dvd-1/
sudo apt update

我得到以下输出:

Get:1 file:/media/debian-dvd-1 bullseye InRelease
Ign:1 file:/media/debian-dvd-1 bullseye InRelease
Get:2 file:/media/debian-dvd-1 bullseye Release [20.9 kB]
Get:2 file:/media/debian-dvd-1 bullseye Release [20.9 kB]
Get:3 file:/media/debian-dvd-1 bullseye Release.gpg
Ign:3 file:/media/debian-dvd-1 bullseye Release.gpg
Hit:4 http://security.debian.org/debian-security bullseye-security InRelease
Hit:5 http://deb.debian.org/debian bullseye InRelease                                                          
Hit:6 http://deb.debian.org/debian bullseye-updates InRelease                                                  
Fetched 2,461 B in 2s (996 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
13 packages can be upgraded. Run 'apt list --upgradable' to see them.
N: Skipping acquire of configured file 'non-free/binary-i386/Packages' as repository 'file:/media/debian-dvd-1 bullseye InRelease' doesn't support architecture 'i386'
N: Skipping acquire of configured file 'contrib/binary-i386/Packages' as repository 'file:/media/debian-dvd-1 bullseye InRelease' doesn't support architecture 'i386'
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'file:/media/debian-dvd-1 bullseye InRelease' doesn't support architecture 'i386'

线是做什么的

Get:1 file:/media/debian-dvd-1 bullseye InRelease
Ign:1 file:/media/debian-dvd-1 bullseye InRelease
Get:2 file:/media/debian-dvd-1 bullseye Release [20.9 kB]
Get:2 file:/media/debian-dvd-1 bullseye Release [20.9 kB]
Get:3 file:/media/debian-dvd-1 bullseye Release.gpg
Ign:3 file:/media/debian-dvd-1 bullseye Release.gpg

和

N: Skipping acquire of configured file 'non-free/binary-i386/Packages' as repository 'file:/media/debian-dvd-1 bullseye InRelease' doesn't support architecture 'i386'
N: Skipping acquire of configured file 'contrib/binary-i386/Packages' as repository 'file:/media/debian-dvd-1 bullseye InRelease' doesn't support architecture 'i386'
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'file:/media/debian-dvd-1 bullseye InRelease' doesn't support architecture 'i386'

意思是?这有什么关系吗?如果是,应该如何整改?

debian apt
  • 1 个回答
  • 275 Views
Martin Hope
Vrajaraja Govinda Das
Asked: 2021-11-14 08:21:50 +0800 CST

清除 `falkon` 会删除 `webhttrack` 和 `gimp-help-en`。为什么?

  • 3
vrgovinda@krishna:~$ sudo apt purge falkon 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libhttrack2 webhttrack-common
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  falkon* gimp-help-en* webhttrack*
0 upgraded, 0 newly installed, 3 to remove and 13 not upgraded.
After this operation, 74.8 MB disk space will be freed.
Do you want to continue? [Y/n] 

为什么要清除falkon删除gimp-help-en& webhttrack?? 这让我很困惑。安装falkon时,即使没有安装gimp-help-en& webhttrack,也不会询问任何依赖项。

我在 Debian Bullseye XFCE 上。请在下面找到我的系统的相关详细信息:

vrgovinda@krishna:~$ uname -a
Linux krishna 5.10.0-8-amd64 #1 SMP Debian 5.10.46-5 (2021-09-23) x86_64 GNU/Linux
vrgovinda@krishna:~$ type -a falkon
falkon is /usr/bin/falkon
falkon is /bin/falkon

请帮忙。

问候。

debian apt
  • 1 个回答
  • 115 Views
Martin Hope
Vrajaraja Govinda Das
Asked: 2021-11-10 02:12:35 +0800 CST

无法弹出(卸载)USB 驱动器

  • 0

我在 Debian Bullseye XFCE 上。请在下面找到我的系统的相关详细信息:

vrgovinda@krishna:~$ uname -a
Linux krishna 5.10.0-8-amd64 #1 SMP Debian 5.10.46-5 (2021-09-23) x86_64 GNU/Linux

当我尝试弹出我的 USB 驱动器时,我收到以下错误:

错误信息

我最近(2-3 天)才遇到此错误。有人可以帮我吗?

问候。

debian xfce
  • 1 个回答
  • 460 Views
Martin Hope
Vrajaraja Govinda Das
Asked: 2021-11-08 03:43:11 +0800 CST

`sudo apt autoclean` 不起作用;`sudo apt clean` 工作

  • 3

我在 Debian Bullseye Xfce 上。请在下面找到我的系统的相关详细信息:

vrgovinda@krishna:~$ uname -a
Linux krishna 5.10.0-8-amd64 #1 SMP Debian 5.10.46-5 (2021-09-23) x86_64 GNU/Linux

的版本apt-get如下:

vrgovinda@krishna:~$ apt-get -v
apt 2.2.4 (amd64)
Supported modules:
*Ver: Standard .deb
*Pkg:  Debian dpkg interface (Priority 30)
 Pkg:  Debian APT solver interface (Priority -1000)
 Pkg:  Debian APT planner interface (Priority -1000)
 S.L: 'deb' Debian binary tree
 S.L: 'deb-src' Debian source tree
 Idx: Debian Source Index
 Idx: Debian Package Index
 Idx: Debian Translation Index
 Idx: Debian dpkg status file
 Idx: Debian deb file
 Idx: Debian dsc file
 Idx: Debian control file
 Idx: EDSP scenario file
 Idx: EIPP scenario file

当我运行sudo apt autoclean时,预计.deb除了最新版本之外的所有文件都应该被删除,即那些无法再下载的文件,但这不会在我的系统中发生。我在下面发布了示例:

/var/cache/apt/archives$ ls
libuuid1_2.36.1-7_amd64.deb  libuuid1_2.36.1-8_amd64.deb  lock
libuuid1_2.36.1-7_i386.deb   libuuid1_2.36.1-8_i386.deb   partial

现在我运行autoclean:

/var/cache/apt/archives$ sudo apt autoclean 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done

文件夹的内容archives保持原样:

/var/cache/apt/archives$ ls
libuuid1_2.36.1-7_amd64.deb  libuuid1_2.36.1-8_amd64.deb  lock
libuuid1_2.36.1-7_i386.deb   libuuid1_2.36.1-8_i386.deb   partial

令人惊讶的是,按预期sudo apt clean清除了文件夹。archives因此,只有该autoclean功能不起作用,这很奇怪。

vrgovinda@krishna:~$ sudo apt clean
[sudo] password for vrgovinda: 
vrgovinda@krishna:~$ cd /var/cache/apt/archives/
vrgovinda@krishna:/var/cache/apt/archives$ ls
lock  partial

结果apt policy libuuid1:

vrgovinda@krishna:/var/cache/apt/archives$ apt policy libuuid1
 libuuid1: 
 Installed: 2.36.1-8
 Candidate: 2.36.1-8
Version table:
*** 2.36.1-8 500
500 file:/home/vrgovinda/bullseye-deb-files ./ Packages
500 deb.debian.org/debian bullseye/main amd64 Packages
100 /var/lib/dpkg/status
2.36.1-7 500
 500 file:/home/vrgovinda/bullseye-deb-files ./ Packages
debian apt
  • 2 个回答
  • 355 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    模块 i915 可能缺少固件 /lib/firmware/i915/*

    • 3 个回答
  • Marko Smith

    无法获取 jessie backports 存储库

    • 4 个回答
  • Marko Smith

    如何将 GPG 私钥和公钥导出到文件

    • 4 个回答
  • Marko Smith

    我们如何运行存储在变量中的命令?

    • 5 个回答
  • Marko Smith

    如何配置 systemd-resolved 和 systemd-networkd 以使用本地 DNS 服务器来解析本地域和远程 DNS 服务器来解析远程域?

    • 3 个回答
  • Marko Smith

    dist-upgrade 后 Kali Linux 中的 apt-get update 错误 [重复]

    • 2 个回答
  • Marko Smith

    如何从 systemctl 服务日志中查看最新的 x 行

    • 5 个回答
  • Marko Smith

    Nano - 跳转到文件末尾

    • 8 个回答
  • Marko Smith

    grub 错误:你需要先加载内核

    • 4 个回答
  • Marko Smith

    如何下载软件包而不是使用 apt-get 命令安装它?

    • 7 个回答
  • Martin Hope
    user12345 无法获取 jessie backports 存储库 2019-03-27 04:39:28 +0800 CST
  • Martin Hope
    Carl 为什么大多数 systemd 示例都包含 WantedBy=multi-user.target? 2019-03-15 11:49:25 +0800 CST
  • Martin Hope
    rocky 如何将 GPG 私钥和公钥导出到文件 2018-11-16 05:36:15 +0800 CST
  • Martin Hope
    Evan Carroll systemctl 状态显示:“状态:降级” 2018-06-03 18:48:17 +0800 CST
  • Martin Hope
    Tim 我们如何运行存储在变量中的命令? 2018-05-21 04:46:29 +0800 CST
  • Martin Hope
    Ankur S 为什么 /dev/null 是一个文件?为什么它的功能不作为一个简单的程序来实现? 2018-04-17 07:28:04 +0800 CST
  • Martin Hope
    user3191334 如何从 systemctl 服务日志中查看最新的 x 行 2018-02-07 00:14:16 +0800 CST
  • Martin Hope
    Marko Pacak Nano - 跳转到文件末尾 2018-02-01 01:53:03 +0800 CST
  • Martin Hope
    Kidburla 为什么真假这么大? 2018-01-26 12:14:47 +0800 CST
  • Martin Hope
    Christos Baziotis 在一个巨大的(70GB)、一行、文本文件中替换字符串 2017-12-30 06:58:33 +0800 CST

热门标签

linux bash debian shell-script text-processing ubuntu centos shell awk ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve