使用默认的sources.list
deb http://deb.debian.org/debian bullseye main
deb-src http://deb.debian.org/debian bullseye main
deb http://deb.debian.org/debian-security/ bullseye-security main
deb-src http://deb.debian.org/debian-security/ bullseye-security main
deb http://deb.debian.org/debian bullseye-upda
我安装了Debian11Bullseye,下面是我的source.list文件:
deb http://deb.debian.org/debian bullseye main contrib non-free
deb-src http://deb.debian.org/debian bullseye main contrib non-free
deb http://security.debian.org/debian-security bullseye-security main contrib non-free
deb-src http://security.debian.org/debi
我希望能够在JFrame上绘制Images,但只要我想(不是在JFrame.paint方法中)。
对于我正在从事的项目,我有一个class Bullseye extends BufferedImage,并且正在尝试将它放到JFrame上
class DrawingFrame extends JFrame {
public void drawImage(Image img, int x, int y) {
getGraphics().drawImage(img,x,y,null);
repaint();
}
}
class Main {
在服务器实例Debian系统中,输入 sudo apt-get update命令后,报错,连不上https://download.docker.com
服务器为腾讯云,sources.list文件内容为:
deb http://mirrors.tencentyun.com/debian bullseye main contrib non-free
#deb-src http://mirrors.tencentyun.com/debian bullseye main contrib non-free
deb http://mirrors.tencentyun.com/debian bullsey
我刚刚安装了一个新的Radeon 6600显卡,我注意到有一些不稳定的播放视频。我以前的卡是R9 290 X,所以我预计这张会更快。
无论如何,我正在尝试安装图形和固件,但我得到了一个“无法定位软件包”错误。还有人对这个包裹有意见吗?我的sources.list包含以下内容:
deb http://deb.debian.org/debian bullseye main contrib non-free
deb http://deb.debian.org/debian bullseye-updates main contrib non-free
deb http://deb.debian.o
我有Debian 11,我正在尝试安装一些php库,比如mysql:
命令:sudo apt install php-mysql
结果:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
d
当当前版本是稳定的buster时,应该选择用于测试包的debian buster-backport或bullseye backport。
我们知道,要升级当前版本,下面的行应该用sources.list文件编写:
deb http://deb.debian.org/debian bullseye main
deb http://deb.debian.org/debian bullseye-updates main
但是,应该获得哪些debian测试包有点让人费解。
deb http://ftp.debian.org/debian buster-backports main
或
deb http
我想在Mac M1中使用命令M1来运行游走程序,提供者是停靠者。
输出是
Bringing machine 'default' up with 'docker' provider...
==> default: Box 'debian/bullseye64' could not be found. Attempting to find and install...
default: Box Provider: docker
default: Box Version: >= 0
==> default: Loadi
详细答复
我试图在特定的Linux安装上安装Debian firmware-misc-nonfree包。
╰─○ apt install firmware-misc-nonfree
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package firmware-misc-nonfree is not available, but is referred to by another package.
This may mean that the pa
我在一个限制防火墙后面的DMZ中有一些debian盒子。问题是,当deb.debian.org的IP急剧变化时,这些盒子大多无法到达CDN支持的org.debian.org-存储库,因此这些盒子试图访问的IP和防火墙允许的IP是不一样的。
我需要将sources.list更改为不使用deb.debian.org,而是使用ftp2.de.debian.org。
好吧,那很好,除了安全更新。似乎没有debian安全子文件夹可用。如何有一个工作的sources.list?
我的sources.list
deb http://ftp2.de.debian.org/debian/ bullseye ma
在我的项目中运行docker-compose -f docker-compose-mssql.yml up -d --build --remove-orphans时,我会得到以下错误。
E:未能获取http://deb.debian.org/debian/pool/main/l/linux/linux-libc-dev_5.10.70-1_amd64.deb 404未找到E:无法获取一些档案,可能运行apt-获取更新或尝试--修复-缺失?
📷
完整的日志如下:
WARNING: Python-dotenv could not parse statement starting at line 1
所以,我正在使用Python3制作一些可以播放歌曲的东西。如果我按1,它会播放播放列表,如果我按2,它会播放第一首歌,如果我按3,它会播放第二首歌。它使用圆圈工作,但在播放列表中,一旦它到达Bullseye,它就会不断地响起(就像当一个通知出现时,你点击了其他地方)。当你按3的时候,它会响一声,然后就会停在那里。我想这可能与这首歌(BullsEye.mp3)有关,这是我的代码,还是其他人以前有过这个问题?
from time import *
import winsound
from winsound import *
input = input('1 for playlist - 2
我在一个(第二只手)裸金属服务器上运行Debian斗牛机,它偶尔会崩溃(在8天的时间里发生了3次),我似乎不知道为什么。我也没有找到复制它的方法,因为原因似乎来自系统之外。
在三次会议上,发生了以下情况:
这个系统实际上是闲置的。
在de内核日志中有一个带有堆栈跟踪的NETDEV WATCHDOG: enp0s31f6 (e1000e): transmit queue 0 timed out错误,没有前面的消息(与先前消息的间隔通常是几个小时)。
消息e1000e 0000:00:1f.6 enp0s31f6: NIC Link is Up 1000 Mbps Full Duplex, Flo
我使用Bullseye作为代码覆盖测试的一些C代码。我成功地用Bullseye测试了我的c代码。然后我试着拆开它看看里面有什么。
我原以为应该在every control transfer location中插入一些探测函数。比如for,if,while等等,但令我惊讶的是,我只看到了a single probe at the the beginning of each of my functions。比如这个:
那么,这个单一的探测器如何跟踪所有的控制传输呢?
当我查看收集到的覆盖数据时,我所有的控制传输都被记录为没有覆盖。只有函数入口点被罗列为覆盖点。
我是否错误地配置了Bull
我在apt上遇到了麻烦:每当我尝试upgrade、install或--fix-broken时,我都会出错,任何东西都不会升级、安装或修复。
下面是我得到的错误的一个例子。
root@server:~$ apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no
我正在试图更新系统,但我得到了一个错误:
sudo apt update
输出:
Err:1 http://deb.debian.org/debian unstable InRelease
Could not connect to debian.map.fastlydns.net:80 (146.75.2.132). - connect (113: No route to host) Unable to connect to deb.debian.org:http:
Err:2 http://deb.debian.org/debian-debug unstable-debug InRele