Não consigo usar sudo apt update

Olá, estou começando a usar linux e decidi testar a distro linux mint, porém quando tento utilizar o comando sudo apt update o comando acaba não funcionando totalmente me devolvendo a seguinte mensagem:

Ign:1 cdrom://Linux Mint 22 _Wilma_ - Release amd64 20240721 noble InRelease
Err:2 cdrom://Linux Mint 22 _Wilma_ - Release amd64 20240721 noble Release
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Ign:3 http://packages.linuxmint.com wilma InRelease                                                                  
Hit:4 http://archive.ubuntu.com/ubuntu noble InRelease                                                               
Hit:5 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:6 http://packages.linuxmint.com wilma Release
Hit:7 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:9 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Reading package lists... Done
E: The repository 'cdrom://Linux Mint 22 _Wilma_ - Release amd64 20240721 noble Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

se puderem me ajudar eu agradeço, não sei se ajuda mas essas são as especificações

System:
  Kernel: 6.8.0-38-generic arch: x86_64 bits: 64
  Desktop: Cinnamon v: 6.2.7 Distro: Linux Mint 22 Wilma
Machine:
  Type: Laptop System: Acer product: Aspire A315-510P v: V1.09
    serial: <superuser required>
  Mobo: ADN model: GardenParty_ADN v: V1.09 serial: <superuser required>
    UEFI: Insyde v: 1.09 date: 12/23/2023
Battery:
  ID-1: BAT0 charge: 40.9 Wh (77.5%) condition: 52.8/53.0 Wh (99.7%)
CPU:
  Info: 8-core model: Intel Core i3-N305 bits: 64 type: MCP cache: L2: 4 MiB
  Speed (MHz): avg: 818 min/max: 800/3800 cores: 1: 818 2: 919 3: 813 4: 800
    5: 800 6: 800 7: 800 8: 800
Graphics:
  Device-1: Intel Alder Lake-N [UHD Graphics] driver: i915 v: kernel
  Device-2: Chicony ACER HD User Facing driver: uvcvideo type: USB
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915
    resolution: 1920x1080~60Hz
  API: EGL v: 1.5 drivers: iris,swrast platforms: x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.0.9-0ubuntu0.1
    renderer: Mesa Intel Graphics (ADL-N)
Audio:
  Device-1: Intel Alder Lake-N PCH High Definition Audio
    driver: sof-audio-pci-intel-tgl
  API: ALSA v: k6.8.0-38-generic status: kernel-api
  Server-1: PipeWire v: 1.0.5 status: active
Network:
  Device-1: Intel CNVi: Wi-Fi driver: iwlwifi
  IF: wlp0s20f3 state: up mac: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth driver: btusb type: USB
  Report: hciconfig ID: hci0 state: up address: <filter> bt-v: 5.2
Drives:
  Local Storage: total: 250.16 GiB used: 0 KiB (0.0%)
  ID-1: /dev/nvme0n1 vendor: Silicon Motion model: SM2P41C8-256GC1
    size: 238.47 GiB
  ID-2: /dev/sda vendor: Generic model: Flash Disk size: 11.69 GiB type: USB
Partition:
  ID-1: / size: 3.72 GiB used: 350 MiB (9.2%) fs: overlay source: ERR-102
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 42.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 8 GiB note: est. available: 7.44 GiB used: 2.71 GiB (36.4%)
  Processes: 285 Uptime: 16m Shell: Bash inxi: 3.3.34

Este erro está sendo causado pelo fato do repositório do CD-ROM está habilitado e não é necessário. Para resolver isso você precisa editar seu arquivo sources.list você pode editar pelo terminal sudo nano /etc/apt/sources.list e coloca um # na frente da linha que contém deb cdrom:[Linux Mint 22 Wilma - Release amd64 20240721]/ noble contrib main. depois utilize Ctrl+O para salvar, confirme a alteração e Ctrl+X para sair do editor e tente atualizar novamente.

1 curtida

é normal aparecer isso no final?

image

É normal, o apt esta te avisando que tem 448 pacotes para atualizar
depois de fazer o que o amigo falou acima roda
sudo apt update && sudo apt upgrade
para atualizar.

1 curtida

consegui aqui man tmj

1 curtida

Este tópico foi fechado automaticamente 3 dias depois da última resposta. Novas respostas não são mais permitidas.